import { defineComponent as j, reactive as z, watch as O, toRefs as H, computed as Kt } from "vue-demi";
const Jt = /-(\w)/g;
function xt(t) {
  return t.replace(Jt, (a, e) => e.toUpperCase());
}
const Vt = "frog";
function Yt(t) {
  return t = `${Vt}-${t}`, [t, xt(`-${t}`)];
}
function K(t) {
  return t.install = (a) => {
    const e = t.name, [n, r] = Yt(e);
    a.component(n, t), a.component(r, t), a.component(e, t), a.component(xt(`-${e}`), t);
  }, t;
}
const S = (t) => t != null && t.startsWith("http") || t != null && t.startsWith("data:image") ? t : t ? `data:image/png;base64,${t}` : "", Qt = (t) => {
  if (t) {
    const a = t == null ? void 0 : t.split(" ")[0];
    let e = ["\u3007", "\u4E00", "\u4E8C", "\u4E09", "\u56DB", "\u4E94", "\u516D", "\u4E03", "\u516B", "\u4E5D", "\u5341"], n = a.replace(/[^0-9]+/g, ""), r = e[n[0]] + e[n[1]] + e[n[2]] + e[n[3]], s = n[4] === "0" ? e[n[5]] : e[10] + (n[5] > 0 ? e[n[5]] : ""), o = "";
    return n[6] === "0" ? o = e[n[7]] : n[6] === "1" ? n[7] === "0" ? o = e[10] : o = e[10] + e[n[7]] : (n[6] === "2" || n[6] === "3") && (n[7] === "0" ? o = e[n[6]] + e[10] : o = e[n[6]] + e[10] + e[n[7]]), r + " \u5E74 " + s + " \u6708 " + o + " \u65E5 ";
  }
};
var qt = function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("div", {
    attrs: {
      id: "teachlog"
    }
  }, [e("div", {
    staticClass: "title"
  }, [t._v(t._s(t.applyTitle) + "\u4ECE\u4E1A\u8D44\u683C\u57F9\u8BAD\u6559\u5B66\u65E5\u5FD7")]), e("div", [e("div", {
    staticClass: "flex-justify"
  }, [e("span", [t.isPassengerTranport(t.applyTitle) ? e("label", [t._v("\u62EC\u53F7\u4E2D\u6807\u6CE8\u201C\u5BA2\u201D\u8005 -- \u4EC5\u4F5C\u4E3A\u9053\u8DEF\u65C5\u5BA2\u8FD0\u8F93\u9A7E\u9A76\u5458\u7684\u6559\u5B66\u9879\u76EE\u6216\u5B66\u65F6")]) : t._e()]), t.teachInfo.enrollBatch ? e("span", [t._v("[" + t._s(t.teachInfo.enrollBatch) + "]")]) : t._e()]), e("div", {
    staticClass: "flex-justify"
  }, [e("span", [t.isPassengerTranport(t.applyTitle) ? e("label", [t._v("\u62EC\u53F7\u4E2D\u6807\u6CE8\u201C\u8D27\u201D\u8005 -- \u4EC5\u4F5C\u4E3A\u9053\u8DEF\u8D27\u7269\u8FD0\u8F93\u9A7E\u9A76\u5458\u7684\u6559\u5B66\u9879\u76EE\u6216\u5B66\u65F6")]) : t._e()]), e("span", [t._v("\u5B66\u5458\u7F16\u53F7\uFF1A" + t._s(t.teachInfo.studentCode))])])]), e("div", [e("table", {
    staticClass: "teachtable",
    attrs: {
      border: "0",
      cellspacing: "0",
      cellpadding: "0"
    }
  }, [e("colgroup", t._l(10, function(n) {
    return e("col", {
      key: n,
      attrs: {
        width: "10%"
      }
    });
  }), 0), e("tbody", [e("tr", [e("td", {
    attrs: {
      colspan: "4"
    }
  }, [e("div", {
    staticClass: "flex"
  }, [e("div", {
    staticClass: "flex-title"
  }, [e("span", {
    staticClass: "bold"
  }, [t._v("\u57F9\u8BAD\u673A\u6784\u540D\u79F0\uFF1A")]), t._v(t._s(t.teachInfo.schoolName) + " ")])])]), e("td", {
    attrs: {
      colspan: "3"
    }
  }, [e("div", {
    staticClass: "flex"
  }, [e("div", {
    staticClass: "flex-title"
  }, [e("span", {
    staticClass: "bold"
  }, [t._v("\u5B66\u5458\u59D3\u540D\uFF1A")]), t._v(t._s(t.teachInfo.name) + " ")])])]), e("td", {
    attrs: {
      colspan: "3"
    }
  }, [e("div", {
    staticClass: "flex"
  }, [t._m(0), e("div", {
    staticStyle: {
      "word-break": "break-all"
    }
  }, [t._v(t._s(t.teachInfo.applyType))])])])]), e("tr", [e("td", {
    attrs: {
      colspan: "10"
    }
  }, [e("div", {
    staticClass: "flex"
  }, [e("div", {
    staticClass: "lineheight15"
  }, [e("span", {
    staticClass: "bold"
  }, [t._v("\u57F9\u8BAD\u76EE\u6807 : ")]), t._v(t._s(t.teachInfo.trainTarget) + " ")])])])])])]), t._l(t.teachInfo.studentInfoDetails, function(n) {
    return [n.educationDictionary.educationSubject == "\u533A\u57DF\u5B9E\u64CD" && t.teachInfo.applyType.includes("\u7F51\u7EDC\u9884\u7EA6") ? t._e() : e("div", [e("table", {
      staticClass: "teachtable",
      attrs: {
        border: "0",
        cellspacing: "0",
        cellpadding: "0"
      }
    }, [e("colgroup", t._l(10, function(r) {
      return e("col", {
        key: r,
        attrs: {
          width: "10%"
        }
      });
    }), 0), e("tbody", [e("tr", [e("td", {
      attrs: {
        colspan: "2",
        rowspan: "2"
      }
    }, [e("h5", [t._v(" " + t._s(n.educationDictionary.educationSubject) + "\u5B66\u65F6\uFF1A "), t.isPassengerTranport(t.applyTitle) && n.educationDictionary.educationSubject == "\u7406\u8BBA" ? e("span", [t._v(t._s(n.educationDictionary.theoryPeriod) + "(\u5BA2) "), e("br"), t._v(" 48(\u8D27)")]) : t.isPassengerTranport(t.applyTitle) && n.educationDictionary.educationSubject == "\u5E94\u7528\u80FD\u529B" ? e("span", [t._v(t._s(n.educationDictionary.theoryPeriod) + "(\u5BA2)"), e("br"), t._v(" 8(\u8D27)")]) : e("span", [t._v(t._s(n.educationDictionary.theoryPeriod))])])]), t._m(1, !0), t._m(2, !0)]), e("tr", [e("td", {
      attrs: {
        colspan: "4"
      }
    }, t._l(n.educationDictionary.educationProject, function(r, s) {
      return e("div", {
        key: `some1-${s}`,
        staticClass: "flex lineheight15"
      }, [t._v(" " + t._s(r) + " ")]);
    }), 0), e("td", {
      attrs: {
        colspan: "4"
      }
    }, t._l(n.educationDictionary.educationTarget, function(r, s) {
      return e("div", {
        key: `some-${s}`,
        staticClass: "flex lineheight15"
      }, [t._v(" " + t._s(r) + " ")]);
    }), 0)]), n.educationDictionary.educationSubject === "\u7406\u8BBA" && t.isDangerTranport(t.applyTitle) ? e("tr", [t._m(3, !0)]) : t._e()])]), e("table", {
      staticClass: "teachtable",
      attrs: {
        border: "0",
        cellspacing: "0",
        cellpadding: "0"
      }
    }, [e("colgroup", [e("col", {
      attrs: {
        width: "10%"
      }
    }), e("col", {
      attrs: {
        width: "10%"
      }
    }), t._l(n.studyInfoDays.length, function(r) {
      return e("col", {
        key: r,
        attrs: {
          width: t.getWidth(n.studyInfoDays.length)
        }
      });
    })], 2), e("tbody", t._l(n.studyList, function(r, s) {
      return e("tr", {
        key: s
      }, [e("td", {
        attrs: {
          colspan: "2"
        }
      }, [e("h5", [t._v(t._s(r.label))])]), t._l(r.value, function(o, c) {
        return e("td", {
          key: `sub_${c}`
        }, [e("div", {
          staticClass: "studentsign"
        }, [r.prop === "name" && t.teachInfo.signature ? e("img", {
          staticClass: "studentimg",
          attrs: {
            src: t.getImage(t.teachInfo.signature)
          }
        }) : e("span", [t._v(t._s(o[r.prop]))])])]);
      })], 2);
    }), 0)])])];
  }), e("table", {
    staticClass: "teachtable",
    attrs: {
      border: "0",
      cellspacing: "0",
      cellpadding: "0"
    }
  }, [e("colgroup", t._l(10, function(n) {
    return e("col", {
      key: n,
      attrs: {
        width: "10%"
      }
    });
  }), 0), e("tbody", [e("tr", [e("td", {
    attrs: {
      colspan: "7"
    }
  }, [e("div", {
    staticClass: "flex items-center",
    staticStyle: {
      height: "60px"
    }
  }, [e("h5", [t._v("\u8003\u6838\u610F\u89C1\uFF1A")]), e("span", [t._v(t._s(t.teachInfo.testRemarks))])])]), e("td", {
    attrs: {
      colspan: "3"
    }
  }, [e("div", {
    staticClass: "flex items-center"
  }, [e("h5", [t._v("\u8003\u6838\u4EBA\u7B7E\u5B57\uFF1A")]), e("span", [t._v(t._s(t.teachInfo.testerName))])])])]), e("tr", [t._m(4), e("td", {
    attrs: {
      colspan: "8"
    }
  }, [e("div", {
    staticClass: "flex justify-end"
  }, [e("div", {
    staticClass: "flex items-end",
    staticStyle: {
      height: "100px"
    }
  }, [t._v("\uFF08\u76D6\u7AE0\uFF09")]), t.teachInfo.signaturePhoto ? e("div", [e("div", {
    staticClass: "sign-img"
  }, [e("div", {
    staticClass: "signature-regular"
  }, [t._v("\u57F9\u8BAD\u5408\u683C")]), e("div", {
    staticClass: "signature-time"
  }, [t._v(t._s(t.teachInfo.signatureTime))]), e("img", {
    attrs: {
      src: t.getImage(t.teachInfo.signaturePhoto),
      alt: ""
    }
  })])]) : t._e()])])])])])], 2)]);
}, Gt = [function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("div", {
    staticClass: "flex-title"
  }, [e("span", {
    staticClass: "bold"
  }, [t._v("\u7533\u8BF7\u7C7B\u522B\uFF1A")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "4"
    }
  }, [e("h5", [t._v("\u6559\u5B66\u9879\u76EE")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "4"
    }
  }, [e("h5", [t._v("\u6559\u5B66\u76EE\u6807")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "10"
    }
  }, [e("h5", [t._v("\u7206\u70B8\u54C1\u8FD0\u8F93\u4ECE\u4E1A\u4EBA\u5458\u5E94\u5B66\u4E60\u5E26*\u5185\u5BB9\uFF1B\u5267\u6BD2\u5316\u5B66\u54C1\u8FD0\u8F93\u4ECE\u4E1A\u4EBA\u5458\u5E94\u5B66\u4E60\u5E26#\u5185\u5BB9")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h5", {
    staticStyle: {
      width: "160px"
    }
  }, [t._v("\u57F9\u8BAD\u673A\u6784\u5BA1\u6838\u610F\u89C1")])]);
}];
function J(t, a, e, n, r, s, o, c) {
  var i = typeof t == "function" ? t.options : t;
  a && (i.render = a, i.staticRenderFns = e, i._compiled = !0), n && (i.functional = !0), s && (i._scopeId = "data-v-" + s);
  var l;
  if (o ? (l = function(u) {
    u = u || this.$vnode && this.$vnode.ssrContext || this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext, !u && typeof __VUE_SSR_CONTEXT__ < "u" && (u = __VUE_SSR_CONTEXT__), r && r.call(this, u), u && u._registeredComponents && u._registeredComponents.add(o);
  }, i._ssrRegister = l) : r && (l = c ? function() {
    r.call(
      this,
      (i.functional ? this.parent : this).$root.$options.shadowRoot
    );
  } : r), l)
    if (i.functional) {
      i._injectStyles = l;
      var d = i.render;
      i.render = function(f, g) {
        return l.call(g), d(f, g);
      };
    } else {
      var y = i.beforeCreate;
      i.beforeCreate = y ? [].concat(y, l) : [l];
    }
  return {
    exports: t,
    options: i
  };
}
const Wt = [
  { name: "\u7ECF\u8425\u6027\u9053\u8DEF\u65C5\u5BA2\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u9053\u8DEF\u5BA2\u8D27\u8FD0\u8F93\u9A7E\u9A76\u5458" },
  { name: "\u9053\u8DEF\u8D27\u7269\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u9053\u8DEF\u5BA2\u8D27\u8FD0\u8F93\u9A7E\u9A76\u5458" },
  { name: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93\u9A7E\u9A76\u5458" },
  { name: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458", label: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458" },
  { name: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458", label: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458" },
  { name: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93\u9A7E\u9A76\u5458" },
  { name: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458", label: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458" },
  { name: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458", label: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458" },
  { name: "\u5267\u6BD2\u5316\u5B66\u54C1\u9053\u8DEF\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u5267\u6BD2\u5316\u5B66\u54C1\u9053\u8DEF\u8FD0\u8F93\u9A7E\u9A76\u5458" },
  { name: "\u5267\u6BD2\u5316\u5B66\u54C1\u9053\u8DEF\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458", label: "\u5267\u6BD2\u5316\u5B66\u54C1\u9053\u8DEF\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458" },
  { name: "\u5267\u6BD2\u5316\u5B66\u54C1\u9053\u8DEF\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458", label: "\u5267\u6BD2\u5316\u5B66\u54C1\u9053\u8DEF\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458" },
  { name: "\u7206\u70B8\u54C1\u9053\u8DEF\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u7206\u70B8\u54C1\u9053\u8DEF\u8FD0\u8F93\u9A7E\u9A76\u5458" },
  { name: "\u7206\u70B8\u54C1\u9053\u8DEF\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458", label: "\u7206\u70B8\u54C1\u9053\u8DEF\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458" },
  { name: "\u7206\u70B8\u54C1\u9053\u8DEF\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458", label: "\u7206\u70B8\u54C1\u9053\u8DEF\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458" },
  { name: "\u5DE1\u6E38\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458", label: "\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458" },
  { name: "\u7F51\u7EDC\u9884\u7EA6\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458", label: "\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458" }
], Xt = j({
  name: "teachLog",
  props: {
    childData: {
      type: Object,
      default: () => {
      }
    }
  },
  setup(t) {
    const a = z({
      studyList: [
        { label: "\u6B21\u6570/\u65E5\u671F", value: [], prop: "timeDate" },
        { label: "\u6559\u5B66\u9879\u76EE", value: [], prop: "trainSubject" },
        { label: "\u6240\u7528\u5B66\u65F6", value: [], prop: "trainHour" },
        { label: "\u5B66\u5458\u7B7E\u5B57", value: [], prop: "name" },
        { label: "\u6559\u7EC3\u5458\u8BC4\u4EF7\u53CA\u7B7E\u5B57", value: [], prop: "teacherName" }
      ],
      teachInfo: {
        schoolName: "",
        applyType: "",
        studyInfoDays: [],
        trainTarget: "",
        signatureTime: "",
        signaturePhoto: "",
        studentCode: ""
      },
      applyTitle: ""
    }), e = (r) => r == "\u9053\u8DEF\u5BA2\u8D27\u8FD0\u8F93\u9A7E\u9A76\u5458", n = (r) => ["\u5371\u9669", "\u5267\u6BD2", "\u7206\u70B8"].some((s) => r.includes(s));
    return O(() => t.childData, (r) => {
      var s, o, c, i, l;
      if (r && Object.keys(r).length) {
        const d = new Array(8).fill({});
        let y = {
          ...r
        };
        y.studentInfoDetails = (s = y.studentInfoDetails) == null ? void 0 : s.map((u) => {
          var m, w, p, v, _, h, b;
          const f = (m = u.studyInfoDays) == null ? void 0 : m.length;
          let g = d;
          if (f > 0 && (g = (w = u.studyInfoDays) == null ? void 0 : w.map((C, E) => {
            var k;
            return C.trainHour = C.trainHour > 0 ? C.trainHour : 0, C.teacherName = (k = C.teacherName) != null ? k : "-", C.timeDate = `${E + 1}/${C.date}`, C;
          }), f < 8)) {
            let C = new Array(8 - f).fill({});
            g = [...g, ...C];
          }
          return {
            ...u,
            studyInfoDays: g,
            educationDictionary: {
              ...u.educationDictionary,
              educationTarget: (v = (p = u.educationDictionary) == null ? void 0 : p.educationTarget) == null ? void 0 : v.split("\u3002"),
              educationProject: (h = (_ = u.educationDictionary) == null ? void 0 : _.educationProject) == null ? void 0 : h.split("\u3002")
            },
            studyList: (b = a.studyList) == null ? void 0 : b.map((C) => ({
              ...C,
              value: g
            }))
          };
        }), y.trainTarget = (i = (c = (o = r.studentInfoDetails) == null ? void 0 : o[0]) == null ? void 0 : c.educationDictionary) == null ? void 0 : i.trainTarget, a.applyTitle = (l = Wt.find((u) => u.name == y.applyType)) == null ? void 0 : l.label, a.teachInfo = y;
      }
    }, {
      immediate: !0,
      deep: !0
    }), {
      ...H(a),
      getImage: S,
      getWidth(r) {
        return `${80 / r}%`;
      },
      isDangerTranport: n,
      isPassengerTranport: e
    };
  }
}), mt = {};
var Zt = /* @__PURE__ */ J(
  Xt,
  qt,
  Gt,
  !1,
  te,
  "17995eea",
  null,
  null
);
function te(t) {
  for (let a in mt)
    this[a] = mt[a];
}
const ee = /* @__PURE__ */ function() {
  return Zt.exports;
}(), ae = K(ee);
var ne = function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("div", {
    staticClass: "applytable-container"
  }, [e("table", {
    staticClass: "exam_ticket",
    attrs: {
      cellspacing: "0",
      border: "0",
      cellpadding: "0"
    }
  }, [e("caption", [e("div", {
    staticClass: "driveInfo"
  }, [e("div", {
    staticClass: "examApply-title"
  }, [t._v(t._s(t.catagory.name) + "\u4ECE\u4E1A\u8D44\u683C\u8003\u8BD5\u7533\u8BF7\u8868")]), t.table.qrcode ? e("div", {
    staticClass: "qrcode"
  }, [e("img", {
    attrs: {
      src: t.getImage(t.table.qrcode),
      fit: "['fill']"
    }
  })]) : t._e()]), e("div", {
    staticClass: "flex"
  }, [e("h6", {
    staticClass: "flex-1 text-left bold"
  }, [t._v("NO." + t._s(t.table.studentCode))]), e("h6", {
    staticClass: "flex-1 text-left bold"
  }, [t.table.isTrain === !1 ? e("span", [t._v(t._s(t.table.schoolName))]) : t._e()]), e("h6", {
    staticClass: "flex-1 text-right",
    staticStyle: {
      "padding-right": "10px"
    }
  }, [t.table.enrollBatch ? e("span", [t._v("[" + t._s(t.table.enrollBatch) + "]")]) : t._e()])])]), e("colgroup", t._l(9, function(n) {
    return e("col", {
      key: n,
      attrs: {
        width: "10%"
      }
    });
  }), 0), e("tbody", [e("tr", [t.isTaxi ? [t._m(3), e("td", {
    attrs: {
      colspan: "2"
    }
  }, [t._v(t._s(t.table.name))]), t._m(4), e("td", {
    attrs: {
      colspan: "2"
    }
  }, [t._v(t._s(t.table.gender))])] : [t._m(0), e("td", [t._v(t._s(t.table.name))]), t._m(1), e("td", [t._v(t._s(t.table.gender))]), t._m(2), e("td", [t._v(t._s(t.table.education))])], e("td", {
    attrs: {
      colspan: "2",
      rowspan: t.isTaxi ? 4 : 5
    }
  }, [t.table.headImg ? e("div", {
    staticClass: "picture"
  }, [e("img", {
    attrs: {
      src: t.getImage(t.table.headImg),
      fit: "['fill']"
    }
  })]) : t._e()])], 2), e("tr", [t._m(5), e("td", {
    attrs: {
      colspan: "5"
    }
  }, [t._v(" " + t._s(t.table.residentialAddress)), t.table.telephone ? e("span", [t._v("(\u7535\u8BDD: " + t._s(t.table.telephone) + ")")]) : t._e()])]), t.isTaxi ? t._e() : e("tr", [t._m(6), e("td", {
    attrs: {
      colspan: "5"
    }
  }, [t._v(t._s(t.table.companyName))])]), e("tr", [t._m(7), e("td", {
    attrs: {
      colspan: "5"
    }
  }, [t._v(t._s(t.table.cardNo))])]), e("tr", [t._m(8), e("td", {
    attrs: {
      colspan: "5"
    }
  }, [t._v(t._s(t.table.isTrain ? t.table.schoolName : ""))])]), e("tr", [t._m(9), e("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(t._s(t.table.driverType))]), t._m(10), e("td", {
    attrs: {
      colspan: "2"
    }
  }, [t._v(t._s(t.table.driverFirstIssueDate))])]), t.isTaxi ? t._e() : e("tr", [t._m(11), e("td", {
    attrs: {
      colspan: "7"
    }
  }, [t._v(t._s(t.table.cardNo))])]), t.catagory.type.length > 0 ? e("tr", [t._m(12), e("td", {
    attrs: {
      colspan: "8"
    }
  }, [e("div", {
    staticClass: "flex justify-center"
  }, t._l(t.catagory.type, function(n, r) {
    return e("div", {
      key: r,
      staticClass: "flex",
      staticStyle: {
        "margin-left": "10px",
        "align-items": "center"
      },
      attrs: {
        label: n.name
      }
    }, [e("input", {
      staticClass: "flex flex-start",
      attrs: {
        type: "checkbox",
        id: `checktype${r}`
      },
      domProps: {
        checked: t.table.isFirst === n.value
      }
    }), e("label", {
      attrs: {
        for: `checktype${r}`
      }
    }, [t._v("\xA0" + t._s(n.name))])]);
  }), 0)])]) : t._e(), e("tr", [t._m(13), e("td", {
    attrs: {
      colspan: "7"
    }
  }, [e("div", {
    staticClass: "flex justify-center disabled-check"
  }, t._l(t.catagory.applyCatagory, function(n, r) {
    return e("div", {
      key: r,
      staticClass: "flex",
      staticStyle: {
        "margin-left": "10px",
        "align-items": "center"
      },
      attrs: {
        label: n.name
      }
    }, [e("input", {
      staticClass: "flex flex-start",
      attrs: {
        type: "checkbox",
        id: `check${r}`
      },
      domProps: {
        checked: t.table.applyType == n.name
      }
    }), e("label", {
      attrs: {
        for: `check${r}`
      }
    }, [t._v("\xA0" + t._s(n.name))])]);
  }), 0)])]), e("tr", [t._m(14), e("td", {
    attrs: {
      colspan: "7"
    }
  }, [e("div", {
    staticClass: "flex justify-center disabled-check"
  }, t._l(t.catagory.studentMaterialsLists, function(n, r) {
    return e("div", {
      key: r,
      staticClass: "flex",
      staticStyle: {
        "align-items": "center"
      }
    }, [n.url ? e("input", {
      staticClass: "flex flex-start",
      attrs: {
        type: "checkbox",
        id: `checkmaterial${r}`
      },
      domProps: {
        checked: n.url
      }
    }) : n.imgUrl ? e("input", {
      staticClass: "flex flex-start",
      attrs: {
        type: "checkbox",
        id: `checkmaterial${r}`
      },
      domProps: {
        checked: n.imgUrl
      }
    }) : t._e(), e("div", {
      staticClass: "text-left"
    }, [n.url || n.imgUrl ? e("a", {
      attrs: {
        for: `checkmaterial${r}`,
        href: n.url || n.imgUrl,
        target: "_black"
      }
    }, [t._v(t._s(n.name))]) : e("span", [t._v(t._s(n.name) + "\xA0\xA0")])])]);
  }), 0)])]), e("tr", [t._m(15), e("td", {
    attrs: {
      colspan: "7"
    }
  }, [e("div", {
    staticClass: "px-5 my-2 text-left"
  }, [t._v(" \u672C\u4EBA\u627F\u8BFA\u4E0A\u8FF0\u6240\u6709\u5185\u5BB9\u771F\u5B9E\u3001\u6709\u6548\uFF0C\u5E76\u627F\u62C5\u7531\u6B64\u4EA7\u751F\u7684\u6CD5\u5F8B\u8D23\u4EFB\u3002 ")]), e("div", {
    staticClass: "flex items-center justify-around",
    staticStyle: {
      "padding-top": "30px"
    }
  }, [e("span", {
    staticClass: "flex items-center"
  }, [t._v("\u672C\u4EBA\u7B7E\u5B57\uFF1A "), t.table.esignature ? e("img", {
    staticStyle: {
      width: "120px",
      height: "60px"
    },
    attrs: {
      fit: "contain",
      src: t.getImage(t.table.esignature)
    }
  }) : e("span", [t._v(" " + t._s(t.table.name))])]), e("span", {
    staticStyle: {
      "padding-right": "100px"
    }
  }, [t._v("\u65E5\u671F: " + t._s(t.getTime(t.table)))])])])]), t.isTaxi ? [e("tr", [e("td", {
    attrs: {
      colspan: "2",
      rowspan: 1 + t.catagory.scoreList.length
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u8BD5\u8BB0\u5F55")])]), t._m(16), t._m(17), t._m(18), t._m(19)]), t._l(t.catagory.scoreList, function(n, r) {
    return e("tr", {
      key: r
    }, [e("td", {
      attrs: {
        colspan: "3"
      }
    }, [e("h6", {
      staticClass: "bold"
    }, [t._v(t._s(n.subjectName) + " \xA0\xA0" + t._s(n.score))])]), e("td", {
      attrs: {
        colspan: "2"
      }
    }, [t._v(t._s(n.examTime))]), e("td", {
      attrs: {
        colspan: "1"
      }
    }, [n.testerOneImg ? e("img", {
      staticStyle: {
        width: "80px",
        height: "30px"
      },
      attrs: {
        src: t.getImage(n.testerOneImg),
        alt: ""
      }
    }) : e("span", [t._v(t._s(n.testerOne))])]), e("td", {
      attrs: {
        colspan: "1"
      }
    }, [n.testerTwoImg ? e("img", {
      staticStyle: {
        width: "80px",
        height: "30px"
      },
      attrs: {
        src: t.getImage(n.testerTwoImg),
        alt: ""
      }
    }) : e("span", [t._v(t._s(n.testerTwo))])])]);
  })] : [e("tr", [e("td", {
    attrs: {
      colspan: "2",
      rowspan: 1 + t.catagory.scoreList.length
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u8BD5\u8BB0\u5F55")])]), t._m(20), t._m(21), t._m(22)]), t._l(t.catagory.scoreList, function(n, r) {
    return e("tr", {
      key: r
    }, [e("td", {
      attrs: {
        colspan: "3"
      }
    }, [e("h6", {
      staticClass: "bold"
    }, [t._v(t._s(n.subjectName) + "\xA0\xA0" + t._s(n.score))])]), e("td", {
      attrs: {
        colspan: "2"
      }
    }, [n.testerOneImg ? e("img", {
      staticStyle: {
        width: "80px",
        height: "30px"
      },
      attrs: {
        src: t.getImage(n.testerOneImg),
        alt: ""
      }
    }) : e("span", [t._v(t._s(n.testerOne))])]), e("td", {
      attrs: {
        colspan: "2"
      }
    }, [n.testerTwoImg ? e("img", {
      staticStyle: {
        width: "80px",
        height: "30px"
      },
      attrs: {
        src: t.getImage(n.testerTwoImg),
        alt: ""
      }
    }) : e("span", [t._v(t._s(n.testerTwo))])])]);
  })], e("tr", [t._m(23), e("td", {
    attrs: {
      colspan: "7"
    }
  }, [t.isTaxi ? e("div", [e("p", {
    staticClass: "text-left"
  }, [t._v("\u7ECF\u5BA1\u6838\uFF1A")]), e("div", {
    staticClass: "flex"
  }, [e("input", {
    directives: [{
      name: "model",
      rawName: "v-model",
      value: t.checked,
      expression: "checked"
    }],
    staticClass: "flex flex-start",
    attrs: {
      type: "checkbox",
      id: "checkaudit"
    },
    domProps: {
      checked: Array.isArray(t.checked) ? t._i(t.checked, null) > -1 : t.checked
    },
    on: {
      change: function(n) {
        var r = t.checked, s = n.target, o = !!s.checked;
        if (Array.isArray(r)) {
          var c = null, i = t._i(r, c);
          s.checked ? i < 0 && (t.checked = r.concat([c])) : i > -1 && (t.checked = r.slice(0, i).concat(r.slice(i + 1)));
        } else
          t.checked = o;
      }
    }
  }), e("label", {
    attrs: {
      for: "checkaudit"
    }
  }, [t._v("\xA0\u540C\u610F\u53D1\u8BC1\uFF08\u5177\u5907\u4ECE\u4E1A\u8D44\u683C\u6761\u4EF6\uFF0C\u4E14\u4ECE\u4E1A\u8D44\u683C\u8003\u8BD5\u5408\u683C\uFF09")])]), e("div", {
    staticClass: "flex"
  }, [e("input", {
    directives: [{
      name: "model",
      rawName: "v-model",
      value: t.checked,
      expression: "checked"
    }],
    staticClass: "flex flex-start",
    attrs: {
      type: "checkbox",
      id: "checkaudit1"
    },
    domProps: {
      checked: Array.isArray(t.checked) ? t._i(t.checked, null) > -1 : t.checked
    },
    on: {
      change: function(n) {
        var r = t.checked, s = n.target, o = !!s.checked;
        if (Array.isArray(r)) {
          var c = null, i = t._i(r, c);
          s.checked ? i < 0 && (t.checked = r.concat([c])) : i > -1 && (t.checked = r.slice(0, i).concat(r.slice(i + 1)));
        } else
          t.checked = o;
      }
    }
  }), e("label", {
    attrs: {
      for: "checkaudit1"
    }
  }, [t._v("\xA0\u4E0D\u540C\u610F\u53D1\u8BC1\uFF0C\u7406\u7531:")])])]) : t.table.signatureUrl ? e("div", {
    staticClass: "flex",
    staticStyle: {
      padding: "20px 0 0 20px"
    }
  }, [e("img", {
    staticStyle: {
      width: "100px",
      height: "100px",
      "margin-bottom": "-50px"
    },
    attrs: {
      src: t.getImage(t.table.signatureUrl),
      alt: ""
    }
  })]) : e("div", {
    staticStyle: {
      height: "60px"
    }
  }), t._m(24)])]), t.isTaxi ? e("tr", [t._m(25), t._m(26), e("td", {
    attrs: {
      colspan: "5"
    }
  })]) : t._e(), e("tr", [t.isTaxi ? t._e() : e("td", {
    attrs: {
      colspan: "2",
      rowspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u4ECE\u4E1A\u8D44\u683C\u8BC1\u4EF6\u53D1\u653E")])]), t._m(27), e("td", {
    attrs: {
      colspan: "2"
    }
  }), t._m(28), e("td", {
    attrs: {
      colspan: "2"
    }
  })]), t._m(29)], 2)]), t.table.describe ? e("p", {
    staticClass: "mt-2 text-justify"
  }, [t._v(" " + t._s(t.table.describe) + " ")]) : t._e()]);
}, re = [function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u59D3\u540D")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", [e("h6", {
    staticClass: "bold"
  }, [t._v("\u6027\u522B")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", [e("h6", {
    staticClass: "bold"
  }, [t._v("\u5B66\u5386")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u59D3\u540D")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", [e("h6", {
    staticClass: "bold"
  }, [t._v("\u6027\u522B")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u4F4F\u5740")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u5DE5\u4F5C\u5355\u4F4D")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u8EAB\u4EFD\u8BC1\u53F7")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u57F9\u8BAD\u5355\u4F4D")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u9A7E\u9A76\u8BC1\u51C6\u9A7E\u8F66\u578B")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u521D\u9886\u9A7E\u9A76\u8BC1\u65E5\u671F")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u539F\u4ECE\u4E1A\u8D44\u683C\u8BC1\u4EF6\u53F7")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u7533\u8BF7\u79CD\u7C7B")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u7533\u8BF7\u7C7B\u522B")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u6750\u6599\u6E05\u5355")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u627F\u8BFA")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "3"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u6210\u7EE9")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u8BD5\u65F6\u95F4")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "1"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u6838\u5458")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "1"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u6838\u5458")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "3"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u6210\u7EE9")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u6838\u5458")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u8003\u6838\u5458")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u4EA4\u901A\u8FD0\u8F93\u4E3B\u7BA1\u90E8\u95E8\u610F\u89C1")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("div", [e("div", {
    staticClass: "text-right",
    staticStyle: {
      padding: "10px 80px 0 0"
    }
  }, [t._v("(\u76D6 \u7AE0)")]), e("div", {
    staticClass: "text-right",
    staticStyle: {
      padding: "10px 80px 5px 0"
    }
  }, [t._v("\u5E74\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\u6708\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\u65E5")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2",
      rowspan: "3"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u4ECE\u4E1A\u8D44\u683C\u8BC1\u4EF6\u53D1\u653E")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u4ECE\u4E1A\u8D44\u683C\u8BC1\u53F7")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u53D1\u653E\u4EBA(\u7B7E\u5B57)")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("td", {
    attrs: {
      colspan: "1"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u65E5\u671F")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("tr", [e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u9886\u53D6\u4EBA(\u7B7E\u5B57)")])]), e("td", {
    attrs: {
      colspan: "2"
    }
  }), e("td", {
    attrs: {
      colspan: "1"
    }
  }, [e("h6", {
    staticClass: "bold"
  }, [t._v("\u65E5\u671F")])]), e("td", {
    attrs: {
      colspan: "2"
    }
  })]);
}];
const vt = [
  { name: "\u7ECF\u8425\u6027\u9053\u8DEF\u65C5\u5BA2\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u7ECF\u8425\u6027\u9053\u8DEF\u5BA2\u8D27\u8FD0\u8F93\u9A7E\u9A76\u5458", arr: [] },
  { name: "\u7ECF\u8425\u6027\u9053\u8DEF\u8D27\u7269\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u7ECF\u8425\u6027\u9053\u8DEF\u5BA2\u8D27\u8FD0\u8F93\u9A7E\u9A76\u5458", arr: [] },
  { name: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93", arr: [] },
  { name: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458", label: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93", arr: [] },
  { name: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458", label: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93", arr: [] },
  { name: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93", arr: [] },
  { name: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458", label: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93", arr: [] },
  { name: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458", label: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93", arr: [] },
  { name: "\u5267\u6BD2\u5316\u5B66\u54C1\u9053\u8DEF\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u5267\u6BD2\u54C1\u8FD0\u8F93", arr: [] },
  { name: "\u5267\u6BD2\u5316\u5B66\u54C1\u9053\u8DEF\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458", label: "\u5267\u6BD2\u54C1\u8FD0\u8F93", arr: [] },
  { name: "\u5267\u6BD2\u5316\u5B66\u54C1\u9053\u8DEF\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458", label: "\u5267\u6BD2\u54C1\u8FD0\u8F93", arr: [] },
  { name: "\u7206\u70B8\u54C1\u9053\u8DEF\u8FD0\u8F93\u9A7E\u9A76\u5458", label: "\u7206\u70B8\u54C1\u8FD0\u8F93", arr: [] },
  { name: "\u7206\u70B8\u54C1\u9053\u8DEF\u8FD0\u8F93\u88C5\u5378\u7BA1\u7406\u4EBA\u5458", label: "\u7206\u70B8\u54C1\u8FD0\u8F93", arr: [] },
  { name: "\u7206\u70B8\u54C1\u9053\u8DEF\u8FD0\u8F93\u62BC\u8FD0\u4EBA\u5458", label: "\u7206\u70B8\u54C1\u8FD0\u8F93", arr: [] },
  {
    name: "\u5DE1\u6E38\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458",
    label: "\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458",
    arr: [{ subjectName: "\u5168\u56FD\u516C\u5171\u79D1\u76EE" }, { subjectName: "\u533A\u57DF\u7406\u8BBA" }, { subjectName: "\u533A\u57DF\u64CD\u4F5C" }]
  },
  {
    name: "\u7F51\u7EDC\u9884\u7EA6\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458",
    label: "\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458",
    arr: [{ subjectName: "\u5168\u56FD\u516C\u5171\u79D1\u76EE" }, { subjectName: "\u533A\u57DF\u7406\u8BBA" }, {}]
  }
], yt = (t) => ({
  customer: {
    name: "\u7ECF\u8425\u6027\u9053\u8DEF\u5BA2\u8D27\u8FD0\u8F93\u9A7E\u9A76\u5458",
    type: [
      { name: "\u521D\u9886", value: 0 },
      { name: "\u589E\u9A7E", value: 1 }
    ],
    applyCatagory: [],
    studentMaterialsLists: [],
    scoreList: [{ subjectName: "\u7406\u8BBA" }, { subjectName: "\u5E94\u7528\u80FD\u529B" }, {}]
  },
  danger: {
    name: "\u9053\u8DEF\u5371\u9669\u8D27\u7269\u8FD0\u8F93",
    studentMaterialsLists: [],
    type: [],
    applyCatagory: [],
    scoreList: [{ subjectName: "\u57FA\u7840\u77E5\u8BC6" }, { subjectName: "\u4E13\u4E1A\u77E5\u8BC6" }, {}]
  },
  radioaction: {
    name: "\u653E\u5C04\u6027\u7269\u54C1\u9053\u8DEF\u8FD0\u8F93",
    studentMaterialsLists: [],
    type: [],
    applyCatagory: [],
    scoreList: [{ subjectName: "\u7406\u8BBA" }, {}, {}]
  },
  toxic: {
    name: "\u5267\u6BD2\u54C1\u8FD0\u8F93",
    studentMaterialsLists: [],
    type: [],
    applyCatagory: [],
    scoreList: [{ subjectName: "\u57FA\u7840\u77E5\u8BC6" }, { subjectName: "\u4E13\u4E1A\u77E5\u8BC6" }, {}]
  },
  explosive: {
    name: "\u7206\u70B8\u54C1\u8FD0\u8F93",
    studentMaterialsLists: [],
    type: [],
    applyCatagory: [],
    scoreList: [{ subjectName: "\u57FA\u7840\u77E5\u8BC6" }, { subjectName: "\u4E13\u4E1A\u77E5\u8BC6" }, {}]
  },
  taxi: {
    name: "\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458",
    type: [],
    applyCatagory: [],
    studentMaterialsLists: [],
    scoreList: []
  }
})[t], se = j({
  name: "applyTable",
  props: {
    childData: {
      type: Object,
      default: () => {
      }
    }
  },
  setup(t, { root: a }) {
    const e = Kt(() => n.catagory.name === "\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458"), n = z({
      checked: !1,
      catagory: {
        name: "",
        type: [],
        scoreList: [],
        applyCatagory: [],
        studentMaterialsLists: []
      },
      applyType: "",
      table: {}
    }), r = (s) => {
      if (s.applyTime)
        return s.applyTime;
      if (s.createdTime)
        return s.createdTime;
    };
    return O(() => t.childData, (s) => {
      var i, l, d;
      const { applyType: o, tableType: c } = s;
      if (c) {
        n.table = { ...s }, n.applyType = o || "", n.catagory = yt(c), n.catagory.applyCatagory = vt.filter((f) => f.label === n.catagory.name) || [];
        let { scoreList: y } = n.table, u = y.length;
        if (u === 0)
          o === "\u5DE1\u6E38\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458" || o === "\u7F51\u7EDC\u9884\u7EA6\u51FA\u79DF\u6C7D\u8F66\u9A7E\u9A76\u5458" ? n.catagory.scoreList = (i = vt.find(
            (f) => f.name === o
          )) == null ? void 0 : i.arr : n.catagory.scoreList = yt(c).scoreList;
        else if (u > 0) {
          if (u < 3) {
            let f = new Array(3 - u).fill({});
            y = [...y, ...f];
          }
          n.catagory.scoreList = y;
        }
        n.catagory.studentMaterialsLists = (d = (l = n.table.studentMaterialsLists) == null ? void 0 : l.map((f) => ({
          ...f,
          url: S(f.url)
        }))) != null ? d : [];
      }
    }, {
      deep: !0,
      immediate: !0
    }), {
      ...H(n),
      getImage: S,
      getTime: r,
      isTaxi: e
    };
  }
}), Ct = {};
var ie = /* @__PURE__ */ J(
  se,
  ne,
  re,
  !1,
  oe,
  "23f18bc6",
  null,
  null
);
function oe(t) {
  for (let a in Ct)
    this[a] = Ct[a];
}
const ce = /* @__PURE__ */ function() {
  return ie.exports;
}(), le = K(ce);
var V = {}, ue = function() {
  return typeof Promise == "function" && Promise.prototype && Promise.prototype.then;
}, Dt = {}, T = {};
let ft;
const de = [
  0,
  26,
  44,
  70,
  100,
  134,
  172,
  196,
  242,
  292,
  346,
  404,
  466,
  532,
  581,
  655,
  733,
  815,
  901,
  991,
  1085,
  1156,
  1258,
  1364,
  1474,
  1588,
  1706,
  1828,
  1921,
  2051,
  2185,
  2323,
  2465,
  2611,
  2761,
  2876,
  3034,
  3196,
  3362,
  3532,
  3706
];
T.getSymbolSize = function(a) {
  if (!a)
    throw new Error('"version" cannot be null or undefined');
  if (a < 1 || a > 40)
    throw new Error('"version" should be in range from 1 to 40');
  return a * 4 + 17;
};
T.getSymbolTotalCodewords = function(a) {
  return de[a];
};
T.getBCHDigit = function(t) {
  let a = 0;
  for (; t !== 0; )
    a++, t >>>= 1;
  return a;
};
T.setToSJISFunction = function(a) {
  if (typeof a != "function")
    throw new Error('"toSJISFunc" is not a valid function.');
  ft = a;
};
T.isKanjiModeEnabled = function() {
  return typeof ft < "u";
};
T.toSJIS = function(a) {
  return ft(a);
};
var X = {};
(function(t) {
  t.L = { bit: 1 }, t.M = { bit: 0 }, t.Q = { bit: 3 }, t.H = { bit: 2 };
  function a(e) {
    if (typeof e != "string")
      throw new Error("Param is not a string");
    switch (e.toLowerCase()) {
      case "l":
      case "low":
        return t.L;
      case "m":
      case "medium":
        return t.M;
      case "q":
      case "quartile":
        return t.Q;
      case "h":
      case "high":
        return t.H;
      default:
        throw new Error("Unknown EC Level: " + e);
    }
  }
  t.isValid = function(n) {
    return n && typeof n.bit < "u" && n.bit >= 0 && n.bit < 4;
  }, t.from = function(n, r) {
    if (t.isValid(n))
      return n;
    try {
      return a(n);
    } catch {
      return r;
    }
  };
})(X);
function Nt() {
  this.buffer = [], this.length = 0;
}
Nt.prototype = {
  get: function(t) {
    const a = Math.floor(t / 8);
    return (this.buffer[a] >>> 7 - t % 8 & 1) === 1;
  },
  put: function(t, a) {
    for (let e = 0; e < a; e++)
      this.putBit((t >>> a - e - 1 & 1) === 1);
  },
  getLengthInBits: function() {
    return this.length;
  },
  putBit: function(t) {
    const a = Math.floor(this.length / 8);
    this.buffer.length <= a && this.buffer.push(0), t && (this.buffer[a] |= 128 >>> this.length % 8), this.length++;
  }
};
var fe = Nt;
function Y(t) {
  if (!t || t < 1)
    throw new Error("BitMatrix size must be defined and greater than 0");
  this.size = t, this.data = new Uint8Array(t * t), this.reservedBit = new Uint8Array(t * t);
}
Y.prototype.set = function(t, a, e, n) {
  const r = t * this.size + a;
  this.data[r] = e, n && (this.reservedBit[r] = !0);
};
Y.prototype.get = function(t, a) {
  return this.data[t * this.size + a];
};
Y.prototype.xor = function(t, a, e) {
  this.data[t * this.size + a] ^= e;
};
Y.prototype.isReserved = function(t, a) {
  return this.reservedBit[t * this.size + a];
};
var he = Y, Bt = {};
(function(t) {
  const a = T.getSymbolSize;
  t.getRowColCoords = function(n) {
    if (n === 1)
      return [];
    const r = Math.floor(n / 7) + 2, s = a(n), o = s === 145 ? 26 : Math.ceil((s - 13) / (2 * r - 2)) * 2, c = [s - 7];
    for (let i = 1; i < r - 1; i++)
      c[i] = c[i - 1] - o;
    return c.push(6), c.reverse();
  }, t.getPositions = function(n) {
    const r = [], s = t.getRowColCoords(n), o = s.length;
    for (let c = 0; c < o; c++)
      for (let i = 0; i < o; i++)
        c === 0 && i === 0 || c === 0 && i === o - 1 || c === o - 1 && i === 0 || r.push([s[c], s[i]]);
    return r;
  };
})(Bt);
var At = {};
const _e = T.getSymbolSize, bt = 7;
At.getPositions = function(a) {
  const e = _e(a);
  return [
    [0, 0],
    [e - bt, 0],
    [0, e - bt]
  ];
};
var St = {};
(function(t) {
  t.Patterns = {
    PATTERN000: 0,
    PATTERN001: 1,
    PATTERN010: 2,
    PATTERN011: 3,
    PATTERN100: 4,
    PATTERN101: 5,
    PATTERN110: 6,
    PATTERN111: 7
  };
  const a = {
    N1: 3,
    N2: 3,
    N3: 40,
    N4: 10
  };
  t.isValid = function(r) {
    return r != null && r !== "" && !isNaN(r) && r >= 0 && r <= 7;
  }, t.from = function(r) {
    return t.isValid(r) ? parseInt(r, 10) : void 0;
  }, t.getPenaltyN1 = function(r) {
    const s = r.size;
    let o = 0, c = 0, i = 0, l = null, d = null;
    for (let y = 0; y < s; y++) {
      c = i = 0, l = d = null;
      for (let u = 0; u < s; u++) {
        let f = r.get(y, u);
        f === l ? c++ : (c >= 5 && (o += a.N1 + (c - 5)), l = f, c = 1), f = r.get(u, y), f === d ? i++ : (i >= 5 && (o += a.N1 + (i - 5)), d = f, i = 1);
      }
      c >= 5 && (o += a.N1 + (c - 5)), i >= 5 && (o += a.N1 + (i - 5));
    }
    return o;
  }, t.getPenaltyN2 = function(r) {
    const s = r.size;
    let o = 0;
    for (let c = 0; c < s - 1; c++)
      for (let i = 0; i < s - 1; i++) {
        const l = r.get(c, i) + r.get(c, i + 1) + r.get(c + 1, i) + r.get(c + 1, i + 1);
        (l === 4 || l === 0) && o++;
      }
    return o * a.N2;
  }, t.getPenaltyN3 = function(r) {
    const s = r.size;
    let o = 0, c = 0, i = 0;
    for (let l = 0; l < s; l++) {
      c = i = 0;
      for (let d = 0; d < s; d++)
        c = c << 1 & 2047 | r.get(l, d), d >= 10 && (c === 1488 || c === 93) && o++, i = i << 1 & 2047 | r.get(d, l), d >= 10 && (i === 1488 || i === 93) && o++;
    }
    return o * a.N3;
  }, t.getPenaltyN4 = function(r) {
    let s = 0;
    const o = r.data.length;
    for (let i = 0; i < o; i++)
      s += r.data[i];
    return Math.abs(Math.ceil(s * 100 / o / 5) - 10) * a.N4;
  };
  function e(n, r, s) {
    switch (n) {
      case t.Patterns.PATTERN000:
        return (r + s) % 2 === 0;
      case t.Patterns.PATTERN001:
        return r % 2 === 0;
      case t.Patterns.PATTERN010:
        return s % 3 === 0;
      case t.Patterns.PATTERN011:
        return (r + s) % 3 === 0;
      case t.Patterns.PATTERN100:
        return (Math.floor(r / 2) + Math.floor(s / 3)) % 2 === 0;
      case t.Patterns.PATTERN101:
        return r * s % 2 + r * s % 3 === 0;
      case t.Patterns.PATTERN110:
        return (r * s % 2 + r * s % 3) % 2 === 0;
      case t.Patterns.PATTERN111:
        return (r * s % 3 + (r + s) % 2) % 2 === 0;
      default:
        throw new Error("bad maskPattern:" + n);
    }
  }
  t.applyMask = function(r, s) {
    const o = s.size;
    for (let c = 0; c < o; c++)
      for (let i = 0; i < o; i++)
        s.isReserved(i, c) || s.xor(i, c, e(r, i, c));
  }, t.getBestMask = function(r, s) {
    const o = Object.keys(t.Patterns).length;
    let c = 0, i = 1 / 0;
    for (let l = 0; l < o; l++) {
      s(l), t.applyMask(l, r);
      const d = t.getPenaltyN1(r) + t.getPenaltyN2(r) + t.getPenaltyN3(r) + t.getPenaltyN4(r);
      t.applyMask(l, r), d < i && (i = d, c = l);
    }
    return c;
  };
})(St);
var Z = {};
const B = X, Q = [
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  1,
  2,
  2,
  1,
  2,
  2,
  4,
  1,
  2,
  4,
  4,
  2,
  4,
  4,
  4,
  2,
  4,
  6,
  5,
  2,
  4,
  6,
  6,
  2,
  5,
  8,
  8,
  4,
  5,
  8,
  8,
  4,
  5,
  8,
  11,
  4,
  8,
  10,
  11,
  4,
  9,
  12,
  16,
  4,
  9,
  16,
  16,
  6,
  10,
  12,
  18,
  6,
  10,
  17,
  16,
  6,
  11,
  16,
  19,
  6,
  13,
  18,
  21,
  7,
  14,
  21,
  25,
  8,
  16,
  20,
  25,
  8,
  17,
  23,
  25,
  9,
  17,
  23,
  34,
  9,
  18,
  25,
  30,
  10,
  20,
  27,
  32,
  12,
  21,
  29,
  35,
  12,
  23,
  34,
  37,
  12,
  25,
  34,
  40,
  13,
  26,
  35,
  42,
  14,
  28,
  38,
  45,
  15,
  29,
  40,
  48,
  16,
  31,
  43,
  51,
  17,
  33,
  45,
  54,
  18,
  35,
  48,
  57,
  19,
  37,
  51,
  60,
  19,
  38,
  53,
  63,
  20,
  40,
  56,
  66,
  21,
  43,
  59,
  70,
  22,
  45,
  62,
  74,
  24,
  47,
  65,
  77,
  25,
  49,
  68,
  81
], q = [
  7,
  10,
  13,
  17,
  10,
  16,
  22,
  28,
  15,
  26,
  36,
  44,
  20,
  36,
  52,
  64,
  26,
  48,
  72,
  88,
  36,
  64,
  96,
  112,
  40,
  72,
  108,
  130,
  48,
  88,
  132,
  156,
  60,
  110,
  160,
  192,
  72,
  130,
  192,
  224,
  80,
  150,
  224,
  264,
  96,
  176,
  260,
  308,
  104,
  198,
  288,
  352,
  120,
  216,
  320,
  384,
  132,
  240,
  360,
  432,
  144,
  280,
  408,
  480,
  168,
  308,
  448,
  532,
  180,
  338,
  504,
  588,
  196,
  364,
  546,
  650,
  224,
  416,
  600,
  700,
  224,
  442,
  644,
  750,
  252,
  476,
  690,
  816,
  270,
  504,
  750,
  900,
  300,
  560,
  810,
  960,
  312,
  588,
  870,
  1050,
  336,
  644,
  952,
  1110,
  360,
  700,
  1020,
  1200,
  390,
  728,
  1050,
  1260,
  420,
  784,
  1140,
  1350,
  450,
  812,
  1200,
  1440,
  480,
  868,
  1290,
  1530,
  510,
  924,
  1350,
  1620,
  540,
  980,
  1440,
  1710,
  570,
  1036,
  1530,
  1800,
  570,
  1064,
  1590,
  1890,
  600,
  1120,
  1680,
  1980,
  630,
  1204,
  1770,
  2100,
  660,
  1260,
  1860,
  2220,
  720,
  1316,
  1950,
  2310,
  750,
  1372,
  2040,
  2430
];
Z.getBlocksCount = function(a, e) {
  switch (e) {
    case B.L:
      return Q[(a - 1) * 4 + 0];
    case B.M:
      return Q[(a - 1) * 4 + 1];
    case B.Q:
      return Q[(a - 1) * 4 + 2];
    case B.H:
      return Q[(a - 1) * 4 + 3];
    default:
      return;
  }
};
Z.getTotalCodewordsCount = function(a, e) {
  switch (e) {
    case B.L:
      return q[(a - 1) * 4 + 0];
    case B.M:
      return q[(a - 1) * 4 + 1];
    case B.Q:
      return q[(a - 1) * 4 + 2];
    case B.H:
      return q[(a - 1) * 4 + 3];
    default:
      return;
  }
};
var Pt = {}, tt = {};
const F = new Uint8Array(512), G = new Uint8Array(256);
(function() {
  let a = 1;
  for (let e = 0; e < 255; e++)
    F[e] = a, G[a] = e, a <<= 1, a & 256 && (a ^= 285);
  for (let e = 255; e < 512; e++)
    F[e] = F[e - 255];
})();
tt.log = function(a) {
  if (a < 1)
    throw new Error("log(" + a + ")");
  return G[a];
};
tt.exp = function(a) {
  return F[a];
};
tt.mul = function(a, e) {
  return a === 0 || e === 0 ? 0 : F[G[a] + G[e]];
};
(function(t) {
  const a = tt;
  t.mul = function(n, r) {
    const s = new Uint8Array(n.length + r.length - 1);
    for (let o = 0; o < n.length; o++)
      for (let c = 0; c < r.length; c++)
        s[o + c] ^= a.mul(n[o], r[c]);
    return s;
  }, t.mod = function(n, r) {
    let s = new Uint8Array(n);
    for (; s.length - r.length >= 0; ) {
      const o = s[0];
      for (let i = 0; i < r.length; i++)
        s[i] ^= a.mul(r[i], o);
      let c = 0;
      for (; c < s.length && s[c] === 0; )
        c++;
      s = s.slice(c);
    }
    return s;
  }, t.generateECPolynomial = function(n) {
    let r = new Uint8Array([1]);
    for (let s = 0; s < n; s++)
      r = t.mul(r, new Uint8Array([1, a.exp(s)]));
    return r;
  };
})(Pt);
const Mt = Pt;
function ht(t) {
  this.genPoly = void 0, this.degree = t, this.degree && this.initialize(this.degree);
}
ht.prototype.initialize = function(a) {
  this.degree = a, this.genPoly = Mt.generateECPolynomial(this.degree);
};
ht.prototype.encode = function(a) {
  if (!this.genPoly)
    throw new Error("Encoder not initialized");
  const e = new Uint8Array(a.length + this.degree);
  e.set(a);
  const n = Mt.mod(e, this.genPoly), r = this.degree - n.length;
  if (r > 0) {
    const s = new Uint8Array(this.degree);
    return s.set(n, r), s;
  }
  return n;
};
var ge = ht, $t = {}, A = {}, _t = {};
_t.isValid = function(a) {
  return !isNaN(a) && a >= 1 && a <= 40;
};
var x = {};
const Lt = "[0-9]+", pe = "[A-Z $%*+\\-./:]+";
let U = "(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";
U = U.replace(/u/g, "\\u");
const me = "(?:(?![A-Z0-9 $%*+\\-./:]|" + U + `)(?:.|[\r
]))+`;
x.KANJI = new RegExp(U, "g");
x.BYTE_KANJI = new RegExp("[^A-Z0-9 $%*+\\-./:]+", "g");
x.BYTE = new RegExp(me, "g");
x.NUMERIC = new RegExp(Lt, "g");
x.ALPHANUMERIC = new RegExp(pe, "g");
const ve = new RegExp("^" + U + "$"), ye = new RegExp("^" + Lt + "$"), Ce = new RegExp("^[A-Z0-9 $%*+\\-./:]+$");
x.testKanji = function(a) {
  return ve.test(a);
};
x.testNumeric = function(a) {
  return ye.test(a);
};
x.testAlphanumeric = function(a) {
  return Ce.test(a);
};
(function(t) {
  const a = _t, e = x;
  t.NUMERIC = {
    id: "Numeric",
    bit: 1 << 0,
    ccBits: [10, 12, 14]
  }, t.ALPHANUMERIC = {
    id: "Alphanumeric",
    bit: 1 << 1,
    ccBits: [9, 11, 13]
  }, t.BYTE = {
    id: "Byte",
    bit: 1 << 2,
    ccBits: [8, 16, 16]
  }, t.KANJI = {
    id: "Kanji",
    bit: 1 << 3,
    ccBits: [8, 10, 12]
  }, t.MIXED = {
    bit: -1
  }, t.getCharCountIndicator = function(s, o) {
    if (!s.ccBits)
      throw new Error("Invalid mode: " + s);
    if (!a.isValid(o))
      throw new Error("Invalid version: " + o);
    return o >= 1 && o < 10 ? s.ccBits[0] : o < 27 ? s.ccBits[1] : s.ccBits[2];
  }, t.getBestModeForData = function(s) {
    return e.testNumeric(s) ? t.NUMERIC : e.testAlphanumeric(s) ? t.ALPHANUMERIC : e.testKanji(s) ? t.KANJI : t.BYTE;
  }, t.toString = function(s) {
    if (s && s.id)
      return s.id;
    throw new Error("Invalid mode");
  }, t.isValid = function(s) {
    return s && s.bit && s.ccBits;
  };
  function n(r) {
    if (typeof r != "string")
      throw new Error("Param is not a string");
    switch (r.toLowerCase()) {
      case "numeric":
        return t.NUMERIC;
      case "alphanumeric":
        return t.ALPHANUMERIC;
      case "kanji":
        return t.KANJI;
      case "byte":
        return t.BYTE;
      default:
        throw new Error("Unknown mode: " + r);
    }
  }
  t.from = function(s, o) {
    if (t.isValid(s))
      return s;
    try {
      return n(s);
    } catch {
      return o;
    }
  };
})(A);
(function(t) {
  const a = T, e = Z, n = X, r = A, s = _t, o = 1 << 12 | 1 << 11 | 1 << 10 | 1 << 9 | 1 << 8 | 1 << 5 | 1 << 2 | 1 << 0, c = a.getBCHDigit(o);
  function i(u, f, g) {
    for (let m = 1; m <= 40; m++)
      if (f <= t.getCapacity(m, g, u))
        return m;
  }
  function l(u, f) {
    return r.getCharCountIndicator(u, f) + 4;
  }
  function d(u, f) {
    let g = 0;
    return u.forEach(function(m) {
      const w = l(m.mode, f);
      g += w + m.getBitsLength();
    }), g;
  }
  function y(u, f) {
    for (let g = 1; g <= 40; g++)
      if (d(u, g) <= t.getCapacity(g, f, r.MIXED))
        return g;
  }
  t.from = function(f, g) {
    return s.isValid(f) ? parseInt(f, 10) : g;
  }, t.getCapacity = function(f, g, m) {
    if (!s.isValid(f))
      throw new Error("Invalid QR Code version");
    typeof m > "u" && (m = r.BYTE);
    const w = a.getSymbolTotalCodewords(f), p = e.getTotalCodewordsCount(f, g), v = (w - p) * 8;
    if (m === r.MIXED)
      return v;
    const _ = v - l(m, f);
    switch (m) {
      case r.NUMERIC:
        return Math.floor(_ / 10 * 3);
      case r.ALPHANUMERIC:
        return Math.floor(_ / 11 * 2);
      case r.KANJI:
        return Math.floor(_ / 13);
      case r.BYTE:
      default:
        return Math.floor(_ / 8);
    }
  }, t.getBestVersionForData = function(f, g) {
    let m;
    const w = n.from(g, n.M);
    if (Array.isArray(f)) {
      if (f.length > 1)
        return y(f, w);
      if (f.length === 0)
        return 1;
      m = f[0];
    } else
      m = f;
    return i(m.mode, m.getLength(), w);
  }, t.getEncodedBits = function(f) {
    if (!s.isValid(f) || f < 7)
      throw new Error("Invalid QR Code version");
    let g = f << 12;
    for (; a.getBCHDigit(g) - c >= 0; )
      g ^= o << a.getBCHDigit(g) - c;
    return f << 12 | g;
  };
})($t);
var Rt = {};
const ct = T, Ft = 1 << 10 | 1 << 8 | 1 << 5 | 1 << 4 | 1 << 2 | 1 << 1 | 1 << 0, be = 1 << 14 | 1 << 12 | 1 << 10 | 1 << 4 | 1 << 1, wt = ct.getBCHDigit(Ft);
Rt.getEncodedBits = function(a, e) {
  const n = a.bit << 3 | e;
  let r = n << 10;
  for (; ct.getBCHDigit(r) - wt >= 0; )
    r ^= Ft << ct.getBCHDigit(r) - wt;
  return (n << 10 | r) ^ be;
};
var Ut = {};
const we = A;
function P(t) {
  this.mode = we.NUMERIC, this.data = t.toString();
}
P.getBitsLength = function(a) {
  return 10 * Math.floor(a / 3) + (a % 3 ? a % 3 * 3 + 1 : 0);
};
P.prototype.getLength = function() {
  return this.data.length;
};
P.prototype.getBitsLength = function() {
  return P.getBitsLength(this.data.length);
};
P.prototype.write = function(a) {
  let e, n, r;
  for (e = 0; e + 3 <= this.data.length; e += 3)
    n = this.data.substr(e, 3), r = parseInt(n, 10), a.put(r, 10);
  const s = this.data.length - e;
  s > 0 && (n = this.data.substr(e), r = parseInt(n, 10), a.put(r, s * 3 + 1));
};
var Ee = P;
const ke = A, nt = [
  "0",
  "1",
  "2",
  "3",
  "4",
  "5",
  "6",
  "7",
  "8",
  "9",
  "A",
  "B",
  "C",
  "D",
  "E",
  "F",
  "G",
  "H",
  "I",
  "J",
  "K",
  "L",
  "M",
  "N",
  "O",
  "P",
  "Q",
  "R",
  "S",
  "T",
  "U",
  "V",
  "W",
  "X",
  "Y",
  "Z",
  " ",
  "$",
  "%",
  "*",
  "+",
  "-",
  ".",
  "/",
  ":"
];
function M(t) {
  this.mode = ke.ALPHANUMERIC, this.data = t;
}
M.getBitsLength = function(a) {
  return 11 * Math.floor(a / 2) + 6 * (a % 2);
};
M.prototype.getLength = function() {
  return this.data.length;
};
M.prototype.getBitsLength = function() {
  return M.getBitsLength(this.data.length);
};
M.prototype.write = function(a) {
  let e;
  for (e = 0; e + 2 <= this.data.length; e += 2) {
    let n = nt.indexOf(this.data[e]) * 45;
    n += nt.indexOf(this.data[e + 1]), a.put(n, 11);
  }
  this.data.length % 2 && a.put(nt.indexOf(this.data[e]), 6);
};
var Te = M, Ie = function(a) {
  for (var e = [], n = a.length, r = 0; r < n; r++) {
    var s = a.charCodeAt(r);
    if (s >= 55296 && s <= 56319 && n > r + 1) {
      var o = a.charCodeAt(r + 1);
      o >= 56320 && o <= 57343 && (s = (s - 55296) * 1024 + o - 56320 + 65536, r += 1);
    }
    if (s < 128) {
      e.push(s);
      continue;
    }
    if (s < 2048) {
      e.push(s >> 6 | 192), e.push(s & 63 | 128);
      continue;
    }
    if (s < 55296 || s >= 57344 && s < 65536) {
      e.push(s >> 12 | 224), e.push(s >> 6 & 63 | 128), e.push(s & 63 | 128);
      continue;
    }
    if (s >= 65536 && s <= 1114111) {
      e.push(s >> 18 | 240), e.push(s >> 12 & 63 | 128), e.push(s >> 6 & 63 | 128), e.push(s & 63 | 128);
      continue;
    }
    e.push(239, 191, 189);
  }
  return new Uint8Array(e).buffer;
};
const xe = Ie, De = A;
function $(t) {
  this.mode = De.BYTE, this.data = new Uint8Array(xe(t));
}
$.getBitsLength = function(a) {
  return a * 8;
};
$.prototype.getLength = function() {
  return this.data.length;
};
$.prototype.getBitsLength = function() {
  return $.getBitsLength(this.data.length);
};
$.prototype.write = function(t) {
  for (let a = 0, e = this.data.length; a < e; a++)
    t.put(this.data[a], 8);
};
var Ne = $;
const Be = A, Ae = T;
function L(t) {
  this.mode = Be.KANJI, this.data = t;
}
L.getBitsLength = function(a) {
  return a * 13;
};
L.prototype.getLength = function() {
  return this.data.length;
};
L.prototype.getBitsLength = function() {
  return L.getBitsLength(this.data.length);
};
L.prototype.write = function(t) {
  let a;
  for (a = 0; a < this.data.length; a++) {
    let e = Ae.toSJIS(this.data[a]);
    if (e >= 33088 && e <= 40956)
      e -= 33088;
    else if (e >= 57408 && e <= 60351)
      e -= 49472;
    else
      throw new Error(
        "Invalid SJIS character: " + this.data[a] + `
Make sure your charset is UTF-8`
      );
    e = (e >>> 8 & 255) * 192 + (e & 255), t.put(e, 13);
  }
};
var Se = L, jt = { exports: {} };
(function(t) {
  var a = {
    single_source_shortest_paths: function(e, n, r) {
      var s = {}, o = {};
      o[n] = 0;
      var c = a.PriorityQueue.make();
      c.push(n, 0);
      for (var i, l, d, y, u, f, g, m, w; !c.empty(); ) {
        i = c.pop(), l = i.value, y = i.cost, u = e[l] || {};
        for (d in u)
          u.hasOwnProperty(d) && (f = u[d], g = y + f, m = o[d], w = typeof o[d] > "u", (w || m > g) && (o[d] = g, c.push(d, g), s[d] = l));
      }
      if (typeof r < "u" && typeof o[r] > "u") {
        var p = ["Could not find a path from ", n, " to ", r, "."].join("");
        throw new Error(p);
      }
      return s;
    },
    extract_shortest_path_from_predecessor_list: function(e, n) {
      for (var r = [], s = n; s; )
        r.push(s), e[s], s = e[s];
      return r.reverse(), r;
    },
    find_path: function(e, n, r) {
      var s = a.single_source_shortest_paths(e, n, r);
      return a.extract_shortest_path_from_predecessor_list(
        s,
        r
      );
    },
    PriorityQueue: {
      make: function(e) {
        var n = a.PriorityQueue, r = {}, s;
        e = e || {};
        for (s in n)
          n.hasOwnProperty(s) && (r[s] = n[s]);
        return r.queue = [], r.sorter = e.sorter || n.default_sorter, r;
      },
      default_sorter: function(e, n) {
        return e.cost - n.cost;
      },
      push: function(e, n) {
        var r = { value: e, cost: n };
        this.queue.push(r), this.queue.sort(this.sorter);
      },
      pop: function() {
        return this.queue.shift();
      },
      empty: function() {
        return this.queue.length === 0;
      }
    }
  };
  t.exports = a;
})(jt);
(function(t) {
  const a = A, e = Ee, n = Te, r = Ne, s = Se, o = x, c = T, i = jt.exports;
  function l(p) {
    return unescape(encodeURIComponent(p)).length;
  }
  function d(p, v, _) {
    const h = [];
    let b;
    for (; (b = p.exec(_)) !== null; )
      h.push({
        data: b[0],
        index: b.index,
        mode: v,
        length: b[0].length
      });
    return h;
  }
  function y(p) {
    const v = d(o.NUMERIC, a.NUMERIC, p), _ = d(o.ALPHANUMERIC, a.ALPHANUMERIC, p);
    let h, b;
    return c.isKanjiModeEnabled() ? (h = d(o.BYTE, a.BYTE, p), b = d(o.KANJI, a.KANJI, p)) : (h = d(o.BYTE_KANJI, a.BYTE, p), b = []), v.concat(_, h, b).sort(function(E, k) {
      return E.index - k.index;
    }).map(function(E) {
      return {
        data: E.data,
        mode: E.mode,
        length: E.length
      };
    });
  }
  function u(p, v) {
    switch (v) {
      case a.NUMERIC:
        return e.getBitsLength(p);
      case a.ALPHANUMERIC:
        return n.getBitsLength(p);
      case a.KANJI:
        return s.getBitsLength(p);
      case a.BYTE:
        return r.getBitsLength(p);
    }
  }
  function f(p) {
    return p.reduce(function(v, _) {
      const h = v.length - 1 >= 0 ? v[v.length - 1] : null;
      return h && h.mode === _.mode ? (v[v.length - 1].data += _.data, v) : (v.push(_), v);
    }, []);
  }
  function g(p) {
    const v = [];
    for (let _ = 0; _ < p.length; _++) {
      const h = p[_];
      switch (h.mode) {
        case a.NUMERIC:
          v.push([
            h,
            { data: h.data, mode: a.ALPHANUMERIC, length: h.length },
            { data: h.data, mode: a.BYTE, length: h.length }
          ]);
          break;
        case a.ALPHANUMERIC:
          v.push([
            h,
            { data: h.data, mode: a.BYTE, length: h.length }
          ]);
          break;
        case a.KANJI:
          v.push([
            h,
            { data: h.data, mode: a.BYTE, length: l(h.data) }
          ]);
          break;
        case a.BYTE:
          v.push([
            { data: h.data, mode: a.BYTE, length: l(h.data) }
          ]);
      }
    }
    return v;
  }
  function m(p, v) {
    const _ = {}, h = { start: {} };
    let b = ["start"];
    for (let C = 0; C < p.length; C++) {
      const E = p[C], k = [];
      for (let N = 0; N < E.length; N++) {
        const I = E[N], R = "" + C + N;
        k.push(R), _[R] = { node: I, lastCount: 0 }, h[R] = {};
        for (let at = 0; at < b.length; at++) {
          const D = b[at];
          _[D] && _[D].node.mode === I.mode ? (h[D][R] = u(_[D].lastCount + I.length, I.mode) - u(_[D].lastCount, I.mode), _[D].lastCount += I.length) : (_[D] && (_[D].lastCount = I.length), h[D][R] = u(I.length, I.mode) + 4 + a.getCharCountIndicator(I.mode, v));
        }
      }
      b = k;
    }
    for (let C = 0; C < b.length; C++)
      h[b[C]].end = 0;
    return { map: h, table: _ };
  }
  function w(p, v) {
    let _;
    const h = a.getBestModeForData(p);
    if (_ = a.from(v, h), _ !== a.BYTE && _.bit < h.bit)
      throw new Error('"' + p + '" cannot be encoded with mode ' + a.toString(_) + `.
 Suggested mode is: ` + a.toString(h));
    switch (_ === a.KANJI && !c.isKanjiModeEnabled() && (_ = a.BYTE), _) {
      case a.NUMERIC:
        return new e(p);
      case a.ALPHANUMERIC:
        return new n(p);
      case a.KANJI:
        return new s(p);
      case a.BYTE:
        return new r(p);
    }
  }
  t.fromArray = function(v) {
    return v.reduce(function(_, h) {
      return typeof h == "string" ? _.push(w(h, null)) : h.data && _.push(w(h.data, h.mode)), _;
    }, []);
  }, t.fromString = function(v, _) {
    const h = y(v, c.isKanjiModeEnabled()), b = g(h), C = m(b, _), E = i.find_path(C.map, "start", "end"), k = [];
    for (let N = 1; N < E.length - 1; N++)
      k.push(C.table[E[N]].node);
    return t.fromArray(f(k));
  }, t.rawSplit = function(v) {
    return t.fromArray(
      y(v, c.isKanjiModeEnabled())
    );
  };
})(Ut);
const et = T, rt = X, Pe = fe, Me = he, $e = Bt, Le = At, lt = St, ut = Z, Re = ge, W = $t, Fe = Rt, Ue = A, st = Ut;
function je(t, a) {
  const e = t.size, n = Le.getPositions(a);
  for (let r = 0; r < n.length; r++) {
    const s = n[r][0], o = n[r][1];
    for (let c = -1; c <= 7; c++)
      if (!(s + c <= -1 || e <= s + c))
        for (let i = -1; i <= 7; i++)
          o + i <= -1 || e <= o + i || (c >= 0 && c <= 6 && (i === 0 || i === 6) || i >= 0 && i <= 6 && (c === 0 || c === 6) || c >= 2 && c <= 4 && i >= 2 && i <= 4 ? t.set(s + c, o + i, !0, !0) : t.set(s + c, o + i, !1, !0));
  }
}
function ze(t) {
  const a = t.size;
  for (let e = 8; e < a - 8; e++) {
    const n = e % 2 === 0;
    t.set(e, 6, n, !0), t.set(6, e, n, !0);
  }
}
function Oe(t, a) {
  const e = $e.getPositions(a);
  for (let n = 0; n < e.length; n++) {
    const r = e[n][0], s = e[n][1];
    for (let o = -2; o <= 2; o++)
      for (let c = -2; c <= 2; c++)
        o === -2 || o === 2 || c === -2 || c === 2 || o === 0 && c === 0 ? t.set(r + o, s + c, !0, !0) : t.set(r + o, s + c, !1, !0);
  }
}
function He(t, a) {
  const e = t.size, n = W.getEncodedBits(a);
  let r, s, o;
  for (let c = 0; c < 18; c++)
    r = Math.floor(c / 3), s = c % 3 + e - 8 - 3, o = (n >> c & 1) === 1, t.set(r, s, o, !0), t.set(s, r, o, !0);
}
function it(t, a, e) {
  const n = t.size, r = Fe.getEncodedBits(a, e);
  let s, o;
  for (s = 0; s < 15; s++)
    o = (r >> s & 1) === 1, s < 6 ? t.set(s, 8, o, !0) : s < 8 ? t.set(s + 1, 8, o, !0) : t.set(n - 15 + s, 8, o, !0), s < 8 ? t.set(8, n - s - 1, o, !0) : s < 9 ? t.set(8, 15 - s - 1 + 1, o, !0) : t.set(8, 15 - s - 1, o, !0);
  t.set(n - 8, 8, 1, !0);
}
function Ke(t, a) {
  const e = t.size;
  let n = -1, r = e - 1, s = 7, o = 0;
  for (let c = e - 1; c > 0; c -= 2)
    for (c === 6 && c--; ; ) {
      for (let i = 0; i < 2; i++)
        if (!t.isReserved(r, c - i)) {
          let l = !1;
          o < a.length && (l = (a[o] >>> s & 1) === 1), t.set(r, c - i, l), s--, s === -1 && (o++, s = 7);
        }
      if (r += n, r < 0 || e <= r) {
        r -= n, n = -n;
        break;
      }
    }
}
function Je(t, a, e) {
  const n = new Pe();
  e.forEach(function(i) {
    n.put(i.mode.bit, 4), n.put(i.getLength(), Ue.getCharCountIndicator(i.mode, t)), i.write(n);
  });
  const r = et.getSymbolTotalCodewords(t), s = ut.getTotalCodewordsCount(t, a), o = (r - s) * 8;
  for (n.getLengthInBits() + 4 <= o && n.put(0, 4); n.getLengthInBits() % 8 !== 0; )
    n.putBit(0);
  const c = (o - n.getLengthInBits()) / 8;
  for (let i = 0; i < c; i++)
    n.put(i % 2 ? 17 : 236, 8);
  return Ve(n, t, a);
}
function Ve(t, a, e) {
  const n = et.getSymbolTotalCodewords(a), r = ut.getTotalCodewordsCount(a, e), s = n - r, o = ut.getBlocksCount(a, e), c = n % o, i = o - c, l = Math.floor(n / o), d = Math.floor(s / o), y = d + 1, u = l - d, f = new Re(u);
  let g = 0;
  const m = new Array(o), w = new Array(o);
  let p = 0;
  const v = new Uint8Array(t.buffer);
  for (let E = 0; E < o; E++) {
    const k = E < i ? d : y;
    m[E] = v.slice(g, g + k), w[E] = f.encode(m[E]), g += k, p = Math.max(p, k);
  }
  const _ = new Uint8Array(n);
  let h = 0, b, C;
  for (b = 0; b < p; b++)
    for (C = 0; C < o; C++)
      b < m[C].length && (_[h++] = m[C][b]);
  for (b = 0; b < u; b++)
    for (C = 0; C < o; C++)
      _[h++] = w[C][b];
  return _;
}
function Ye(t, a, e, n) {
  let r;
  if (Array.isArray(t))
    r = st.fromArray(t);
  else if (typeof t == "string") {
    let l = a;
    if (!l) {
      const d = st.rawSplit(t);
      l = W.getBestVersionForData(d, e);
    }
    r = st.fromString(t, l || 40);
  } else
    throw new Error("Invalid data");
  const s = W.getBestVersionForData(r, e);
  if (!s)
    throw new Error("The amount of data is too big to be stored in a QR Code");
  if (!a)
    a = s;
  else if (a < s)
    throw new Error(
      `
The chosen QR Code version cannot contain this amount of data.
Minimum version required to store current data is: ` + s + `.
`
    );
  const o = Je(a, e, r), c = et.getSymbolSize(a), i = new Me(c);
  return je(i, a), ze(i), Oe(i, a), it(i, e, 0), a >= 7 && He(i, a), Ke(i, o), isNaN(n) && (n = lt.getBestMask(
    i,
    it.bind(null, i, e)
  )), lt.applyMask(n, i), it(i, e, n), {
    modules: i,
    version: a,
    errorCorrectionLevel: e,
    maskPattern: n,
    segments: r
  };
}
Dt.create = function(a, e) {
  if (typeof a > "u" || a === "")
    throw new Error("No input text");
  let n = rt.M, r, s;
  return typeof e < "u" && (n = rt.from(e.errorCorrectionLevel, rt.M), r = W.from(e.version), s = lt.from(e.maskPattern), e.toSJISFunc && et.setToSJISFunction(e.toSJISFunc)), Ye(a, r, n, s);
};
var zt = {}, gt = {};
(function(t) {
  function a(e) {
    if (typeof e == "number" && (e = e.toString()), typeof e != "string")
      throw new Error("Color should be defined as hex string");
    let n = e.slice().replace("#", "").split("");
    if (n.length < 3 || n.length === 5 || n.length > 8)
      throw new Error("Invalid hex color: " + e);
    (n.length === 3 || n.length === 4) && (n = Array.prototype.concat.apply([], n.map(function(s) {
      return [s, s];
    }))), n.length === 6 && n.push("F", "F");
    const r = parseInt(n.join(""), 16);
    return {
      r: r >> 24 & 255,
      g: r >> 16 & 255,
      b: r >> 8 & 255,
      a: r & 255,
      hex: "#" + n.slice(0, 6).join("")
    };
  }
  t.getOptions = function(n) {
    n || (n = {}), n.color || (n.color = {});
    const r = typeof n.margin > "u" || n.margin === null || n.margin < 0 ? 4 : n.margin, s = n.width && n.width >= 21 ? n.width : void 0, o = n.scale || 4;
    return {
      width: s,
      scale: s ? 4 : o,
      margin: r,
      color: {
        dark: a(n.color.dark || "#000000ff"),
        light: a(n.color.light || "#ffffffff")
      },
      type: n.type,
      rendererOpts: n.rendererOpts || {}
    };
  }, t.getScale = function(n, r) {
    return r.width && r.width >= n + r.margin * 2 ? r.width / (n + r.margin * 2) : r.scale;
  }, t.getImageWidth = function(n, r) {
    const s = t.getScale(n, r);
    return Math.floor((n + r.margin * 2) * s);
  }, t.qrToImageData = function(n, r, s) {
    const o = r.modules.size, c = r.modules.data, i = t.getScale(o, s), l = Math.floor((o + s.margin * 2) * i), d = s.margin * i, y = [s.color.light, s.color.dark];
    for (let u = 0; u < l; u++)
      for (let f = 0; f < l; f++) {
        let g = (u * l + f) * 4, m = s.color.light;
        if (u >= d && f >= d && u < l - d && f < l - d) {
          const w = Math.floor((u - d) / i), p = Math.floor((f - d) / i);
          m = y[c[w * o + p] ? 1 : 0];
        }
        n[g++] = m.r, n[g++] = m.g, n[g++] = m.b, n[g] = m.a;
      }
  };
})(gt);
(function(t) {
  const a = gt;
  function e(r, s, o) {
    r.clearRect(0, 0, s.width, s.height), s.style || (s.style = {}), s.height = o, s.width = o, s.style.height = o + "px", s.style.width = o + "px";
  }
  function n() {
    try {
      return document.createElement("canvas");
    } catch {
      throw new Error("You need to specify a canvas element");
    }
  }
  t.render = function(s, o, c) {
    let i = c, l = o;
    typeof i > "u" && (!o || !o.getContext) && (i = o, o = void 0), o || (l = n()), i = a.getOptions(i);
    const d = a.getImageWidth(s.modules.size, i), y = l.getContext("2d"), u = y.createImageData(d, d);
    return a.qrToImageData(u.data, s, i), e(y, l, d), y.putImageData(u, 0, 0), l;
  }, t.renderToDataURL = function(s, o, c) {
    let i = c;
    typeof i > "u" && (!o || !o.getContext) && (i = o, o = void 0), i || (i = {});
    const l = t.render(s, o, i), d = i.type || "image/png", y = i.rendererOpts || {};
    return l.toDataURL(d, y.quality);
  };
})(zt);
var Ot = {};
const Qe = gt;
function Et(t, a) {
  const e = t.a / 255, n = a + '="' + t.hex + '"';
  return e < 1 ? n + " " + a + '-opacity="' + e.toFixed(2).slice(1) + '"' : n;
}
function ot(t, a, e) {
  let n = t + a;
  return typeof e < "u" && (n += " " + e), n;
}
function qe(t, a, e) {
  let n = "", r = 0, s = !1, o = 0;
  for (let c = 0; c < t.length; c++) {
    const i = Math.floor(c % a), l = Math.floor(c / a);
    !i && !s && (s = !0), t[c] ? (o++, c > 0 && i > 0 && t[c - 1] || (n += s ? ot("M", i + e, 0.5 + l + e) : ot("m", r, 0), r = 0, s = !1), i + 1 < a && t[c + 1] || (n += ot("h", o), o = 0)) : r++;
  }
  return n;
}
Ot.render = function(a, e, n) {
  const r = Qe.getOptions(e), s = a.modules.size, o = a.modules.data, c = s + r.margin * 2, i = r.color.light.a ? "<path " + Et(r.color.light, "fill") + ' d="M0 0h' + c + "v" + c + 'H0z"/>' : "", l = "<path " + Et(r.color.dark, "stroke") + ' d="' + qe(o, s, r.margin) + '"/>', d = 'viewBox="0 0 ' + c + " " + c + '"', u = '<svg xmlns="http://www.w3.org/2000/svg" ' + (r.width ? 'width="' + r.width + '" height="' + r.width + '" ' : "") + d + ' shape-rendering="crispEdges">' + i + l + `</svg>
`;
  return typeof n == "function" && n(null, u), u;
};
const Ge = ue, dt = Dt, Ht = zt, We = Ot;
function pt(t, a, e, n, r) {
  const s = [].slice.call(arguments, 1), o = s.length, c = typeof s[o - 1] == "function";
  if (!c && !Ge())
    throw new Error("Callback required as last argument");
  if (c) {
    if (o < 2)
      throw new Error("Too few arguments provided");
    o === 2 ? (r = e, e = a, a = n = void 0) : o === 3 && (a.getContext && typeof r > "u" ? (r = n, n = void 0) : (r = n, n = e, e = a, a = void 0));
  } else {
    if (o < 1)
      throw new Error("Too few arguments provided");
    return o === 1 ? (e = a, a = n = void 0) : o === 2 && !a.getContext && (n = e, e = a, a = void 0), new Promise(function(i, l) {
      try {
        const d = dt.create(e, n);
        i(t(d, a, n));
      } catch (d) {
        l(d);
      }
    });
  }
  try {
    const i = dt.create(e, n);
    r(null, t(i, a, n));
  } catch (i) {
    r(i);
  }
}
V.create = dt.create;
V.toCanvas = pt.bind(null, Ht.render);
V.toDataURL = pt.bind(null, Ht.renderToDataURL);
V.toString = pt.bind(null, function(t, a, e) {
  return We.render(t, e);
});
const Xe = (t = {
  domID: "",
  text: "",
  width: "100px",
  height: "100px",
  colorDark: "#000",
  colorLight: "#fff",
  margin: 1
}) => {
  V.toCanvas(t.text, {
    errorCorrectionLevel: "L",
    margin: t.margin,
    scal: 177,
    color: {
      dark: t.colorDark,
      light: t.colorLight
    },
    rendererOpts: {
      quality: 0.9
    }
  }).then((a) => {
    a.style.height = t.height, a.style.width = t.width;
    const e = document.getElementById(t.domID);
    e.innerHTML = "", e.appendChild(a);
  }).catch((a) => {
    console.log("err", a);
  });
};
var Ze = function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("div", {
    staticClass: "titcket"
  }, [e("table", {
    attrs: {
      cellspacing: "0",
      cellpadding: "0"
    }
  }, [e("tr", [e("th", {
    staticClass: "title",
    attrs: {
      colspan: "5"
    }
  }, [t._v(t._s(t.ticketDataCopy.applyType) + "\u4ECE\u4E1A\u8D44\u683C\u8003\u6838")])]), e("tr", [e("th", {
    staticClass: "title",
    attrs: {
      colspan: "4"
    }
  }, [t._v("\u51C6\u8003\u8BC1")]), e("td", {
    attrs: {
      rowspan: "9"
    }
  }, [t.ticketDataCopy.headImg ? e("img", {
    staticClass: "head",
    attrs: {
      src: t.getImage(t.ticketDataCopy.headImg)
    }
  }) : t._e(), e("div", {
    staticClass: "admissionTicketCardQRcode",
    attrs: {
      id: "admissionTicketCardQRcode" + t.ticketDataCopy.studentCode
    }
  })])]), e("tr", [e("th", [t._v("\u59D3\u540D")]), e("td", [t._v(t._s(t.ticketDataCopy.name))]), e("th", [t._v("\u8EAB\u4EFD\u8BC1\u53F7")]), e("td", [t._v(t._s(t.ticketDataCopy.cardNo))])]), e("tr", [e("th", [t._v("\u51C6\u8003\u8BC1\u53F7")]), e("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(" " + t._s(t.ticketDataCopy.studentCode) + " ")])]), e("tr", [e("th", [t._v("\u8003\u573A\u540D\u79F0")]), e("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(" " + t._s(t.ticketDataCopy.examAddressName) + " ")])]), e("tr", [e("th", [t._v("\u8003\u573A\u5730\u70B9")]), e("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(" " + t._s(t.ticketDataCopy.examAddress) + " ")])]), e("tr", [e("th", [t._v("\u62A5\u8003\u7C7B\u522B")]), e("td", [t._v(t._s(t.ticketDataCopy.applyType))]), e("th", [t._v("\u8003\u8BD5\u79D1\u76EE")]), e("td", [t._v(" " + t._s(t.ticketDataCopy.examSubject) + " ")])]), e("tr", [e("th", [t._v("\u8003\u8BD5\u5F00\u59CB\u65F6\u95F4")]), e("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(t._s(t.ticketDataCopy.startDate))])]), e("tr", [e("th", [t._v("\u8003\u8BD5\u7ED3\u675F\u65F6\u95F4")]), e("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(t._s(t.ticketDataCopy.endDate))])]), e("tr", [e("th", [t._v("\u7406\u8BBA\u8003\u8BD5\u6B21\u6570")]), e("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(" " + t._s(t.ticketDataCopy.theoryExamCount) + " ")])]), t.ticketDataCopy.examDocketNotice ? e("tr", [e("th", [t._v("\u8003\u8BD5\u987B\u77E5")]), e("td", {
    attrs: {
      colspan: "4"
    }
  }, [e("div", {
    staticClass: "textinfo",
    domProps: {
      innerHTML: t._s(t.ticketDataCopy.examDocketNotice)
    }
  })])]) : t._e(), t.ticketDataCopy.examDocketRemark ? e("tr", [e("th", [t._v("\u51C6\u8003\u8BC1\u5907\u6CE8")]), e("td", {
    attrs: {
      colspan: "4"
    }
  }, [e("div", {
    staticClass: "textinfo",
    domProps: {
      innerHTML: t._s(t.ticketDataCopy.examDocketRemark)
    }
  })])]) : t._e()]), e("br"), e("br")]);
}, ta = [];
const ea = j({
  name: "admissionTicket",
  props: {
    childData: {
      type: Object,
      default: () => ({})
    }
  },
  setup: function(t) {
    const a = z({
      ticketDataCopy: {}
    }), e = () => {
      Xe({
        domID: `admissionTicketCardQRcode${a.ticketDataCopy.studentCode}`,
        text: `\u7F16\u53F7:${a.ticketDataCopy.studentCode};\r
\u59D3\u540D:${a.ticketDataCopy.name};\r
\u8EAB\u4EFD\u8BC1\u53F7:${a.ticketDataCopy.cardNo};\r
\u7533\u8BF7\u7C7B\u522B\uFF1A${a.ticketDataCopy.applyType}`,
        width: "100px",
        height: "100px"
      });
    };
    return O(() => t.childData, (n) => {
      n && Object.keys(n).length && (a.ticketDataCopy = { ...n }, e());
    }, {
      deep: !0,
      immediate: !0
    }), {
      ...H(a),
      getImage: S
    };
  }
}), kt = {};
var aa = /* @__PURE__ */ J(
  ea,
  Ze,
  ta,
  !1,
  na,
  "5aaca55a",
  null,
  null
);
function na(t) {
  for (let a in kt)
    this[a] = kt[a];
}
const ra = /* @__PURE__ */ function() {
  return aa.exports;
}(), sa = K(ra);
var ia = function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("div", {
    attrs: {
      id: "certificate-container"
    }
  }, [e("h2", {
    staticClass: "title"
  }, [t._v("\u9053\u8DEF\u8FD0\u8F93\u4ECE\u4E1A\u8D44\u683C\u57F9\u8BAD\u7ED3\u4E1A\u8BC1\u4E66")]), e("p", {
    staticClass: "text-right"
  }, [t._v("[\xA0\u7ED3\u4E1A\u8BC1\u4E66\u7F16\u53F7: " + t._s(t.studentInfo.finishStudyCode) + "\xA0]")]), e("div", {
    staticClass: "container"
  }, [e("p", {
    staticClass: "desc"
  }, [t._v(" \u5B66\u5458 "), e("span", {
    staticClass: "line"
  }, [t._v(t._s(t.studentInfo.name))]), t._v(" \uFF08\u8EAB\u4EFD\u8BC1\u53F7\uFF1A" + t._s(t.studentInfo.cardNo) + "\uFF09\u4E8E " + t._s(t.studentInfo.startStudyDate) + " \u81F3 " + t._s(t.studentInfo.endStudyDate) + " \u671F\u95F4\u53C2\u52A0\u6211\u6821"), e("span", {
    staticClass: "line"
  }, [t._v(t._s(t.studentInfo.applyTypeAlias))]), t._v(" \u4ECE\u4E1A\u8D44\u683C\u57F9\u8BAD\uFF0C\u5E76\u6309\u8981\u6C42\u5B8C\u6210\u4E86\u6559\u5B66\u5927\u7EB2\u89C4\u5B9A\u5B66\u65F6\u7684\u57F9\u8BAD\uFF0C\u51C6\u4E88\u7ED3\u4E1A\uFF01 ")]), e("div", {
    staticClass: "picture"
  }, [t.studentInfo.headImg ? e("img", {
    attrs: {
      src: t.getImage(t.studentInfo.headImg),
      fit: "['fill']"
    }
  }) : t._e()])]), e("div", [t._v("(\u62A5\u540D\u7F16\u53F7\uFF1A" + t._s(t.studentInfo.enrollBatch) + ")")]), e("div", {
    staticClass: "signature"
  }, [e("div", {
    staticClass: "signature_inner"
  }, [e("div", [t._v("\u57F9\u8BAD\u5355\u4F4D(\u76D6\u7AE0)\uFF1A")]), e("div", {
    staticClass: "sign"
  }, [e("span", [t._v(t._s(t.studentInfo.graduationDatetime))]), e("div", {
    staticClass: "sign_pic"
  }, [t.studentInfo.signaturePhoto ? e("img", {
    attrs: {
      src: t.getImage(t.studentInfo.signaturePhoto),
      fit: "['fill']"
    }
  }) : t._e()])])]), e("div", {
    staticClass: "signtime"
  }, [t._v(t._s(t.dateToChinese(t.studentInfo.graduationDatetime)))])])]);
}, oa = [];
const ca = j({
  name: "certificated",
  props: {
    childData: {
      type: Object,
      default: () => {
      }
    }
  },
  setup(t, { root: a }) {
    const e = z({
      studentInfo: {}
    });
    return O(() => t.childData, (n) => {
      e.studentInfo = { ...n };
      const { oneApplyTime: r, graduationDatetime: s } = e.studentInfo;
      e.studentInfo.startTime = r == null ? void 0 : r.split(" ")[0], e.studentInfo.endTime = s == null ? void 0 : s.split(" ")[0];
    }, {
      deep: !0,
      immediate: !0
    }), {
      ...H(e),
      getImage: S,
      dateToChinese: Qt
    };
  }
}), Tt = {};
var la = /* @__PURE__ */ J(
  ca,
  ia,
  oa,
  !1,
  ua,
  "fce2bb8e",
  null,
  null
);
function ua(t) {
  for (let a in Tt)
    this[a] = Tt[a];
}
const da = /* @__PURE__ */ function() {
  return la.exports;
}(), fa = K(da);
var ha = function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("div", {
    staticClass: "register-table"
  }, [e("table", {
    attrs: {
      cellspacing: "0",
      cellpadding: "0"
    }
  }, [t._m(0), e("tr", [e("td", [t._v("\u59D3\u540D")]), e("td", [t._v(t._s(t.registerForm.name))]), e("td", [t._v("\u6027\u522B")]), e("td", [t._v(t._s(t.registerForm.gender))]), e("td", {
    attrs: {
      rowspan: "6"
    }
  }, [e("div", {
    staticClass: "upload-img"
  }, [t.registerForm.photoBase ? e("img", {
    attrs: {
      src: t.registerForm.photoBase,
      alt: ""
    }
  }) : t._e()])])]), e("tr", [e("td", [t._v("\u4F4F\u5740")]), e("td", [t._v(t._s(t.registerForm.address))]), e("td", [t._v("\u8054\u7CFB\u7535\u8BDD")]), e("td", [t._v(t._s(t.registerForm.telephone))])]), e("tr", [e("td", [t._v("\u6CE8\u518C\u670D\u52A1\u5355\u4F4D")]), e("td", [t._v(t._s(t.registerForm.enterpriseName))]), e("td", [t._v("\u6295\u8BC9\u7535\u8BDD")]), e("td", [t._v(t._s(t.registerForm.complaintPhone))])]), e("tr", [e("td", [t._v("\u8EAB\u4EFD\u8BC1\u53F7")]), e("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(t._s(t.registerForm.cardNo))])]), e("tr", [e("td", [t._v("\u4ECE\u4E1A\u8D44\u683C\u8BC1\u53F7")]), e("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(t._s(t.registerForm.certificateCode))])]), e("tr", [e("td", [t._v("\u8F66\u8F86\u4FE1\u606F")]), e("td", {
    attrs: {
      colspan: "3"
    }
  }, [t._v(t._s(t.registerForm.vehicleNo))])]), e("tr", [e("td", [t._v("\u7533\u8BF7\u79CD\u7C7B")]), e("td", {
    attrs: {
      colspan: "4"
    }
  }, [e("div", {
    staticClass: "materialbox flex justify-center"
  }, [e("input", {
    attrs: {
      id: "radio1",
      type: "radio",
      name: "radio"
    },
    domProps: {
      checked: t.registerForm.registerType === 1
    }
  }), e("label", {
    attrs: {
      for: "radio1"
    }
  }, [t._v("\u6CE8\u518C")]), t._v("\xA0\xA0\xA0\xA0 "), e("input", {
    attrs: {
      id: "radio2",
      type: "radio",
      name: "radio"
    },
    domProps: {
      checked: t.registerForm.registerType === 2
    }
  }), e("label", {
    attrs: {
      for: "radio2"
    }
  }, [t._v("\u5EF6\u7EED\u6CE8\u518C")])])])]), e("tr", [e("td", [t._v("\u6750\u6599\u6E05\u5355")]), e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("div", {
    staticClass: "materialbox"
  }, [e("div", {
    staticClass: "title"
  }, [t._v("\u6CE8\u518C\u8D44\u6599\u6E05\u5355\uFF1A")]), e("div", {
    staticClass: "flex justify-center flex-col"
  }, t._l(t.registerMaterials, function(n, r) {
    return e("div", {
      key: r,
      staticClass: "flex",
      staticStyle: {
        "margin-left": "10px",
        "align-items": "baseline"
      },
      attrs: {
        label: n.label
      }
    }, [e("input", {
      staticClass: "flex flex-start",
      attrs: {
        type: "checkbox",
        id: `checktype1${r}`
      },
      domProps: {
        checked: t.registerForm.registerMaterials && t.registerForm.registerMaterials.includes(n.value)
      }
    }), e("label", {
      attrs: {
        for: `checktype1${r}`
      }
    }, [t._v("\xA0" + t._s(n.label))])]);
  }), 0)])]), e("td", {
    attrs: {
      colspan: "2"
    }
  }, [e("div", {
    staticClass: "materialbox"
  }, [e("div", {
    staticClass: "title"
  }, [t._v("\u5EF6\u7EED\u6CE8\u518C\u8D44\u6599\u6E05\u5355\uFF1A")]), e("div", {
    staticClass: "flex justify-center flex-col"
  }, t._l(t.continueRegisterMaterials, function(n, r) {
    return e("div", {
      key: r,
      staticClass: "flex",
      staticStyle: {
        "margin-left": "10px",
        "align-items": "baseline"
      },
      attrs: {
        label: n.label
      }
    }, [e("input", {
      staticClass: "flex flex-start",
      attrs: {
        type: "checkbox",
        id: `checktype2${r}`
      },
      domProps: {
        checked: t.registerForm.continueRegisterMaterials && t.registerForm.continueRegisterMaterials.includes(n.value)
      }
    }), e("label", {
      attrs: {
        for: `checktype2${r}`
      }
    }, [t._v("\xA0" + t._s(n.label))])]);
  }), 0)])])]), t._m(1), e("tr", [e("td", [t._v("\u7BA1\u7406\u90E8\u95E8\u610F\u89C1")]), e("td", {
    attrs: {
      colspan: "4"
    }
  }, [e("div", {
    staticClass: "suggest"
  }, [e("p", {
    staticClass: "title"
  }, [t._v("\u7ECF\u5BA1\u6838\uFF1A")]), e("div", {
    staticClass: "item"
  }, [e("input", {
    directives: [{
      name: "model",
      rawName: "v-model",
      value: t.checked,
      expression: "checked"
    }],
    staticClass: "flex flex-start",
    attrs: {
      type: "checkbox",
      id: "checkaudit"
    },
    domProps: {
      checked: Array.isArray(t.checked) ? t._i(t.checked, null) > -1 : t.checked
    },
    on: {
      change: function(n) {
        var r = t.checked, s = n.target, o = !!s.checked;
        if (Array.isArray(r)) {
          var c = null, i = t._i(r, c);
          s.checked ? i < 0 && (t.checked = r.concat([c])) : i > -1 && (t.checked = r.slice(0, i).concat(r.slice(i + 1)));
        } else
          t.checked = o;
      }
    }
  }), e("label", {
    attrs: {
      for: "checkaudit"
    }
  }, [t._v("\xA0\u540C\u610F\u6CE8\u518C")])]), e("div", {
    staticClass: "item"
  }, [e("input", {
    directives: [{
      name: "model",
      rawName: "v-model",
      value: t.checked,
      expression: "checked"
    }],
    staticClass: "flex flex-start",
    attrs: {
      type: "checkbox",
      id: "checkaudit1"
    },
    domProps: {
      checked: Array.isArray(t.checked) ? t._i(t.checked, null) > -1 : t.checked
    },
    on: {
      change: function(n) {
        var r = t.checked, s = n.target, o = !!s.checked;
        if (Array.isArray(r)) {
          var c = null, i = t._i(r, c);
          s.checked ? i < 0 && (t.checked = r.concat([c])) : i > -1 && (t.checked = r.slice(0, i).concat(r.slice(i + 1)));
        } else
          t.checked = o;
      }
    }
  }), e("label", {
    attrs: {
      for: "checkaudit1"
    }
  }, [t._v("\xA0\u4E0D\u540C\u610F\u6CE8\u518C\uFF0C\u7406\u7531:")])]), t._m(2)])])]), e("tr", [e("td", {
    attrs: {
      rowspan: "2"
    }
  }, [t._v("\u8BC1\u4EF6\u6CE8\u518C\u4FE1\u606F")]), e("td", {
    attrs: {
      colspan: "4"
    }
  }, [e("div", {
    staticClass: "register-info"
  }, [t._v("\u4ECE\u4E1A\u8D44\u683C\u8BC1\u6CE8\u518C\u6709\u6548\u671F\uFF1A" + t._s(t.registerForm.registerEndDate))])])]), e("tr", [e("td", {
    attrs: {
      colspan: "4"
    }
  }, [e("div", {
    staticClass: "register-info"
  }, [e("span", [t._v("\u7ECF\u529E\u4EBA(\u7B7E\u5B57)")]), e("span", {
    staticClass: "beginDate"
  }, [t._v("\u65E5\u671F\uFF1A" + t._s(t.registerForm.registerBeginDate))])])])])])]);
}, _a = [function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("caption", [e("h2", {
    staticClass: "register-title"
  }, [t._v("\u56DB\u5DDD\u7701\u51FA\u79DF\u8F66\u9A7E\u9A76\u5458\u4ECE\u4E1A\u8D44\u683C\u6CE8\u518C\u767B\u8BB0\u8868")])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("tr", [e("td", [t._v("\u627F\u8BFA")]), e("td", {
    attrs: {
      colspan: "4"
    }
  }, [e("div", {
    staticClass: "promise"
  }, [e("div", {
    staticClass: "content"
  }, [t._v("\u672C\u4EBA\u627F\u8BFA\u4EE5\u4E0A\u6240\u6709\u5185\u5BB9\u771F\u5B9E\u3001\u6709\u6548\uFF0C\u5E76\u627F\u62C5\u7531\u6B64\u4EA7\u751F\u7684\u6CD5\u5F8B\u8D23\u4EFB\u3002")]), e("div", {
    staticClass: "sign"
  }, [e("span", [t._v("\u672C\u4EBA\u7B7E\u5B57\uFF1A")]), e("span", [t._v("\u65E5\u671F\uFF1A")])])])])]);
}, function() {
  var t = this, a = t.$createElement, e = t._self._c || a;
  return e("div", [e("div", {
    staticClass: "textR",
    staticStyle: {
      padding: "10px 50px 0 0"
    }
  }, [t._v("(\u76D6 \u7AE0)")]), e("div", {
    staticClass: "textR",
    staticStyle: {
      padding: "10px 50px 5px 0"
    }
  }, [t._v(" \u5E74\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\u6708\xA0\xA0\xA0\xA0\xA0\xA0\xA0\xA0\u65E5 ")])]);
}];
const ga = [
  { value: 1, label: "\u4ECE\u4E1A\u8D44\u683C\u8BC1\u53CA\u590D\u5370\u4EF6" },
  {
    value: 2,
    label: "\u52B3\u52A8\u5408\u540C\u3001\u8058\u7528\u534F\u8BAE\u6216\u8005\u7ECF\u8425\u5408\u540C\u539F\u4EF6\u53CA\u590D\u5370\u4EF6\uFF08\u9A7E\u9A76\u672C\u4EBA\u51FA\u79DF\u8F66\u4ECE\u4E8B\u7ECF\u8425\u6D3B\u52A8\u7684\u4E2A\u4F53\u7ECF\u8425\u8005\u4E0D\u63D0\u4F9B\uFF09"
  },
  { value: 3, label: "\u9053\u8DEF\u8FD0\u8F93\u8BC1\u53CA\u590D\u5370\u4EF6\uFF08\u9A7E\u9A76\u672C\u4EBA\u51FA\u79DF\u8F66\u4ECE\u4E8B\u7ECF\u8425\u6D3B\u52A8\u7684\u4E2A\u4F53\u7ECF\u8425\u8005\u9700\u63D0\u4F9B\uFF09" }
], pa = [
  { value: 1, label: "\u4ECE\u4E1A\u8D44\u683C\u8BC1\u53CA\u590D\u5370\u4EF6" },
  {
    value: 2,
    label: "\u52B3\u52A8\u5408\u540C\u3001\u8058\u7528\u534F\u8BAE\u6216\u8005\u7ECF\u8425\u5408\u540C\u539F\u4EF6\u53CA\u590D\u5370\u4EF6\uFF08\u9A7E\u9A76\u672C\u4EBA\u51FA\u79DF\u8F66\u4ECE\u4E8B\u7ECF\u8425\u6D3B\u52A8\u7684\u4E2A\u4F53\u7ECF\u8425\u8005\u4E0D\u63D0\u4F9B\uFF09"
  },
  { value: 3, label: "\u7EE7\u7EED\u6559\u80B2\u8BB0\u5F55" },
  { value: 4, label: "\u9053\u8DEF\u8FD0\u8F93\u8BC1\u53CA\u590D\u5370\u4EF6\uFF08\u9A7E\u9A76\u672C\u4EBA\u51FA\u79DF\u8F66\u4ECE\u4E8B\u7ECF\u8425\u6D3B\u52A8\u7684\u4E2A\u4F53\u7ECF\u8425\u8005\u9700\u63D0\u4F9B\uFF09" }
], ma = j({
  name: "registerTable",
  props: {
    childData: {
      type: Object,
      default: () => {
      }
    }
  },
  setup(t, { root: a }) {
    const e = z({
      checked: !1,
      registerForm: {
        name: "",
        cardNo: "",
        gender: "",
        address: "",
        photoBase: "",
        telephone: "",
        vehicleNo: "",
        registerType: "",
        enterpriseName: "",
        complaintPhone: "",
        certificateCode: "",
        registerMaterials: [],
        continueRegisterMaterials: [],
        registerBeginDate: "",
        registerEndDate: ""
      }
    });
    return O(
      () => t.childData,
      (n) => {
        for (let r in e.registerForm)
          r === "gender" ? e.registerForm[r] = n[r] === 1 ? "\u7537" : "\u5973" : r === "photoBase" ? e.registerForm[r] = S(n[r]) : e.registerForm[r] = n[r];
      },
      {
        deep: !0,
        immediate: !0
      }
    ), {
      getImage: S,
      ...H(e),
      registerMaterials: ga,
      continueRegisterMaterials: pa
    };
  }
}), It = {};
var va = /* @__PURE__ */ J(
  ma,
  ha,
  _a,
  !1,
  ya,
  "143772a1",
  null,
  null
);
function ya(t) {
  for (let a in It)
    this[a] = It[a];
}
const Ca = /* @__PURE__ */ function() {
  return va.exports;
}(), ba = K(Ca), wa = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  teachLog: ae,
  applyTable: le,
  admissionTicket: sa,
  certificated: fa,
  registerTable: ba
}, Symbol.toStringTag, { value: "Module" })), Ea = function(t) {
  Object.values(wa).forEach((a) => {
    !a || !a.name || a.install(t);
  });
}, Ta = {
  install: Ea
};
export {
  sa as admissionTicket,
  le as applyTable,
  fa as certificated,
  Ta as default,
  ba as registerTable,
  ae as teachLog
};
